acfplot | R Documentation |
This function computes the autocorrelation function estimates for a selected parameter.
acfplot(object, parm = NULL)
object |
an object of class |
parm |
a chosen predictor variable; if |
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
.
Nelson Lee Afanador (nelson.afanador@mvdalab.com)
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.
smc
, smc.acfTest
data(Penta) mod1 <- plsFit(log.RAI ~., scale = TRUE, data = Penta[, -1], ncomp = 2, validation = "loo") acfplot(mod1, parm = NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.