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
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 argumentShould this be entered in a different way in makePTA?
Thanks