View source: R/partialDependence.R
partialDependence_growth | R Documentation |
Compute the partial dependence of a predictor, or set of predictors, on the predicted trajectory of a latent growth model.
partialDependence_growth(
x,
data,
reference.var,
support = 20,
points = NULL,
mc = NULL,
FUN = "median",
times = NULL,
parameters = NULL,
...
)
x |
An object for which a method exists |
data |
Optional |
reference.var |
Character vector, referring to the (independent) reference variable or variables for which partial dependence is calculated. Providing two (or more) variables allows for probing interactions, but note that this is computationally expensive. |
support |
Integer. Number of grid points for interpolating the
|
points |
Named list, with elements corresponding to |
mc |
Integer. If |
FUN |
Character string with function used to integrate predictions
across all elements of |
times |
Numeric matrix, representing the factor loadings of a latent
growth model, with columns equal to the number of growth |
parameters |
Character vector of the names of the growth parameters;
defaults to |
... |
Extra arguments passed to |
Caspar J. Van Lissa
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.