View source: R/plot.functions.R
plot.predict.ngme | R Documentation |
Plots the predicted values for a specific subject.
## S3 method for class 'predict.ngme'
plot(object, id = NULL)
object |
A fitted object returned by the |
id |
A numerical value or character string for ID of the subject for whom the plot will be generated. |
plot_excursions |
A logical for plotting excursions. |
col_m |
A character value for defining the colour of prediction mean or median. |
col_c |
A character value for defining the colour of prediction intervals. |
col_p |
A character value for defining the colour of observed data. |
... |
Additional arguments; none used currently. |
predict.ngme
## Not run:
fit <- ngme(...)
pred <- predict(fit, ...)
plot(pred, 1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.