Skip to content

Error during plotting of VPC #260

@mhovd

Description

@mhovd

Discussed in #259

Originally posted by BoburaII May 19, 2025
Hello,
I’m attempting to plot VPCs using the PM_result$valid$plot() function, and I keep getting this error:

valid1 <- res1$validate(limits = NA)
res1$valid$plot()
Error in bind_cols():
! Can't recycle ..1 (size 9) to match ..2 (size 18).
Run rlang::last_trace() to see where the error occurred.

Could this be a data format issue? I’ve got two outputs in the dataset, with corresponding output equations in the model file.
I’m able to plot a scatter VPC by extracting the simdata using valid1$simdata$plot(obs = res$op). However, I need to generate a confidence interval VPC plot similar to the ones created using the example model/data files and I was hoping to accomplish this by using the PM_result$valid$plot() function.

Any help with this would be greatly appreciated.

Thanks!
Bob

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions