Open mshaer-pkpd opened 3 years ago
Hello, I have the same question and I try to use a PMpost object as a simdata in makePTA command This send me the following message :
Error in max(sapply(simdata, function(x) nrow(x$parValues))) : invalid 'type' (list) of argument
Do you have any solution ?
Thanks a lot
Hello,
I am trying to calculate the PTA for every patient in my dataset (using the Bayesians). In the makePTA help in R, it is mentioned that PMpost is allowed as simdata argument. Tried running makePTA(simdata=post.run#) but got an error:
Error in max(sapply(simdata, function(x) nrow(x$parValues))) : invalid 'type' (list) of argument
Should this be entered in a different way in makePTA?Thanks