View source: R/ggplot.autolayer.R
The variable plotted on the y-axis is the first column with residual error that is available in the predicted result. You can easily influence this by providing a 'newdata' argument.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
x |
a tdmore object |
color |
color to use for the line |
fill |
fill color to use for the ribbon |
alpha |
alpha level for the ribbon |
se.fit |
plot a confidence band around the prediction? |
level |
level for the confidence band |
... |
extra arguments |
na.rm |
should NA be removed |
regimen |
the regimen |
covariates |
the covariates |
newdata |
passed to 'predict' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.