Pmetrics icon indicating copy to clipboard operation
Pmetrics copied to clipboard

makePTA using Bayesians

Open mshaer-pkpd opened this issue 5 years ago • 1 comments

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

mshaer-pkpd avatar Jan 14 '21 12:01 mshaer-pkpd

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

PKPDICU avatar Apr 13 '23 14:04 PKPDICU