Error during plotting of VPC
### Discussed in https://github.com/LAPKB/Pmetrics/discussions/259
<div type='discussions-op-text'>
<sup>Originally posted by **BoburaII** May 19, 2025</sup>
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
</div>
0 条评论