This function conducts redundancy analysis using the OpenMx package.
Missing data are handled with the full information maximum likelihood
method when raw data are available. It provides standard errors for
the standardized estimates.
A list with class RDA. It stores the model in OpenMx
objects. The fitted object is stored in mx.fit.
Arguments
X_vars
A vector of characters of the X variables.
Y_vars
A vector of characters of the Y variables.
data
A data frame containing raw data. If NULL, Cov and
numObs must be provided.
Cov
A covariance or correlation matrix. Required when data is NULL.
numObs
A sample size. Required when data is NULL.
extraTries
This function calls OpenMx::mxTryHard() to obtain
parameter estimates and their standard errors. extraTries is the
number of extra runs. If extraTries=0, OpenMx::mxRun() is
called.
...
Additional arguments passed to either
OpenMx::mxTryHard() or OpenMx::mxRun().