plot.predict.ngme: Prediction plots.

View source: R/plot.functions.R

plot.predict.ngmeR Documentation

Prediction plots.

Description

Plots the predicted values for a specific subject.

Usage

## S3 method for class 'predict.ngme'
plot(object, id = NULL)

Arguments

object

A fitted object returned by the "predict.ngme" function.

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.

See Also

predict.ngme

Examples

  ## Not run: 
  fit <- ngme(...)
  pred <- predict(fit, ...)
  plot(pred, 1)
  
## End(Not run)

davidbolin/ngme documentation built on Dec. 5, 2023, 11:48 p.m.