Description Usage Arguments Value Author(s) See Also Examples
This is an internal function used within arfimaMLM and arfimaOLS. It is used to extract the variables marked with the suffixes .fd, .xdif, and .ydif from formula as well as .mean from ecmformula and create variable lists for the respective types of data manipulations.
1 | extractVars(formula,ecmformula=NULL)
|
formula |
An object of the class " |
ecmformula |
An object of the class " |
The function returns a list of character vectors containing variable names selected for subsequent data manipulation:
mean |
List of variables selected to calculate level means (i.e. variables originally augmented with suffixes |
fd |
List of variables selected for fractional differencing (i.e. variables originally augmented with suffixes |
xdif |
List of variables originally augmented with the suffix |
xdif |
List of variables originally augmented with the suffix |
Patrick Kraft
arfimaMLM, arfimaOLS, ArfimaMLM.
1 2 3 4 5 6 | f1 <- y ~ x1.xdif + x2 + z1.fd + z2
f2 <- y.ydif ~ x1.xdif + x2 + z1.fd + z2.fd + (1+x1.xdif|time)
f3 <- y.mean ~ x1.mean
extractVars(formula = f1)
extractVars(formula = f2, ecmformula = f3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.