Produce model plots

Share:

Description

Builds model plots, including MCMC trace plots, analysis of subject effects and subject growth curves

Usage

1
2
## S3 method for class 'ddpgrow'
plot(x, plot.out = TRUE, ...)

Arguments

x

A dpgrow object

plot.out

A boolean object. If TRUE, plots are rendered. In either case, plots are stored

...

Ignored

Value

res a list object of class plot.dpgrow of two items:

plot.results

ggplot2 plot objects. See ddpMCMCplots.

dat.growcurve

A data.frame containing fields c("fit","time","subject","trt") with P*T rows, where P is the length of subject and T = 10 are the number of in-subject predictions for each subject. This object may be used to construct additional growth curves using - see growplot.

dat.gcdata

A data.frame containing fields c("fit","time","subject","trt") with N rows, where N are the number of subject-time cases. This object contains the actual data for all subjects used to co-plot with predicted growth curves.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.