plot.dpgrowmm: Produce model plots

Description Usage Arguments Value

View source: R/dpgrowmm.R

Description

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

Usage

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

Arguments

x

A dpgrowmm 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.dpgrowmm of 3 items:

plot.results

ggplot2 plot objects; see mcmcPlots.

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.


growcurves documentation built on May 2, 2019, 7:03 a.m.