Obtain predictions and confidence intervals for LTJMM models

# S3 method for class 'ltjmm'
predict(
  object,
  stanfit.object,
  newdata,
  link,
  level = 0.95,
  grouping = c("population", "subject")[1],
  ...
)

Arguments

object

a ltjmm object

stanfit.object

a corresponding CmdStanMCMC object

newdata

new data on which to generate predictions

link function (defaults to identity)

level

for credible intervals

grouping

character indicating whether 'population' or 'subject' level precictions are desired.

...

additional optional arguments.

See also