Replies: 2 comments 1 reply
-
|
I am not sure, but this could be related to #127. |
Beta Was this translation helpful? Give feedback.
-
|
I had a very similar problem here I have loaded a model created with Pmetrics 1.5.1 to do a simulation in Pmetrics 2.0 I was using the following code: Error reported was: But, when i used PM_sim$run, it worked! simul<-PM_sim$run(poppar=run3,limits=NA, model="model.txt", data="data.csv",predInt=0.25) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm receiving an error message when trying to run a simulation from a population PK model, that was working on the previous version of pmetrics. The code I am using is:
SIMrun(final.35,model="xxx.txt",data="xxx.csv",nsim=5000,limits=NA,split=T, predInt = 1,outname="simout1")
I receive the following:
Error in
[.data.frame(x, order(x, na.last = na.last, decreasing = decreasing)) :undefined columns selected
In addition: Warning messages:
1: In stringr::str_split(err[i + 1], ",")[[1]] %>% as.numeric() :
NAs introduced by coercion
2: In xtfrm.data.frame(x) : cannot xtfrm data frames
3: In xtfrm.data.frame(x) : cannot xtfrm data frames
I can run the simulation if I just use the mean and CV from the model. I have tried both by loading the model which was generated in the previous version of pmetrics, and also by re-running the model again in V2.0.2.
Any suggestions please?
Beta Was this translation helpful? Give feedback.
All reactions