acfplot {mvdalab} | R Documentation |
Plot of Auto-correlation Funcion
Description
This function computes the autocorrelation function estimates for a selected parameter.
Usage
acfplot(object, parm = NULL)
Arguments
object |
an object of class |
parm |
a chosen predictor variable; if |
Details
This function computes the autocorrelation function estimates for a selected parameter, via acf
, and generates a graph that allows the analyst to assess the need for an autocorrelation adjustment in the smc
.
Author(s)
Nelson Lee Afanador (nelson.afanador@mvdalab.com)
References
This function is built using the acf
function in the stats R package.
Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth Edition. Springer-Verlag.
See Also
Examples
data(Penta)
mod1 <- plsFit(log.RAI ~., scale = TRUE, data = Penta[, -1],
ncomp = 2, validation = "loo")
acfplot(mod1, parm = NULL)
[Package mvdalab version 1.7 Index]