Description Usage Arguments Value Author(s) See Also
View source: R/ddpeffectsplot.R
Each ddpgrow
object contains posterior mean estimates for the q
x T
matrix of by-subject random effects that is extracted from the ddpgrow
object that is input to ddpEffectsplot
.
This function produces a q
x T.m
heat map plot of posterior mean effect values
for the dosages in treatment m
faceted on a set of chosen subjects. The resulting plot
produces a heatmap for each trt-subject combination. Both a ggplot2 plot object
and a data.frame
object are returned.
1 2 3 4 |
object |
A |
subjects.plot |
A vector of subjects for performing plots that is composed of some subset of the |
n.plot |
An optional scalar input for number of randomly generated subjects to plot (if |
trts.plot |
A vector of focus treatments to use for plotting. |
x.axis.label |
An optional scalar character entry to label the treatment(s) dosages |
smoother |
A scalar boolean input indicating whether to co-plot a smoother line with point values. |
re.order |
A scalar boolean input indicating whether to sort the plots of effects in order of increasing value. |
cred.intervals |
A boolean scalar indicating whether the by-subject effects plots should include credible intervals. |
map.group |
A |
n.dose.plot |
Optional numeric input for number of randomly chosen doses for which to plot effects growth curves. |
orderto |
A numeric vector of length equal to the total number of dosages across all treatments that conveys an order to be used by-dosage growth curve plots within cluster and treatment. |
A list object containing a faceted set of heat maps (one per subject),
a faceted set of effect point plots, and the associated data.frame
objct.
dat.se |
A |
dat.ci |
A |
dat.clust |
A |
dat.clust.ci |
A |
dat.gc |
A |
p.hm |
A |
p.pp |
A |
pc.m |
A |
pc.ci |
A |
pc.gc |
A |
Terrance Savitsky tds151@gmail.com
ddpgrow
, dpgrow
, dpgrowmm
, dpgrowmult
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.