ds.mxModel: Creates a new mxModel object

Description Usage Arguments Details Value Author(s) References Examples

Description

This function is similar to OpenMx function mxModel.

Usage

1
2
3
ds.mxModel(model = NA, lst, manifestVars = NA, latentVars = NA,
  remove = FALSE, independent = NA, type = NA, name = NA,
  newobj = "new_mxModel", datasources = NULL)

Arguments

model

this argument is either an mxModel object or a string. If 'model' is an mxModel object, then all elements of that model are placed in the resulting mxModel object. If 'model' is a string, then a new model is created with the string as its name. If 'model' is either unspecified or 'model' is a named entity, data source, or MxPath object, then a new model is created.

lst

a list of character strings, the names of an arbitrary number of mxMatrix, mxPath, mxData, and other functions such as mxConstraints and mxCI. These will all be added or removed from the model as specified in the 'model' argument, based on the 'remove' argument.

manifestVars

for RAM-type models, a list of manifest variables to be included in the model.

latentVars

for RAM-type models, A list of latent variables to be included in the model.

remove

logical. If TRUE, elements listed in this statement are removed from the original model. If FALSE, elements listed in this statement are added to the original model.

independent

logical. If TRUE then the model is evaluated independently of other models.

type

character vector. The model type to assign to this model. Defaults to options ("mxDefaultType"). See below for valid types

name

an optional character vector indicating the name of the object.

newobj

the name of the new object. By default the name of the new object is "new_mxModel".

datasources

a list of opal object(s) obtained after login in to opal servers; these objects hold also the data assign to R, as dataframe, from opal datasources. By default an internal function looks for 'opal' objects in the environment and sets this parameter.

Details

See details of the OpenMx function 'mxModel' in the package OpenMx.

Value

a new mxModel object. MxModel objects must include an objective function to be used as arguments in mxRun functions.

Author(s)

Gaye, A.

References

Steven M. Boker, Michael C. Neale, Hermine H. Maes, Michael J. Wilde, Michael Spiegel, Timothy R. Brick, Jeffrey Spies, Ryne Estabrook, Sarah Kenny, Timothy C., Bates, Paras Mehta, and John Fox. (2011) OpenMx: An Open Source Extended Structural Equation Modeling Framework. Psychometrika. Steven M. Boker, Michael C. Neale, Hermine H. Maes, Michael J. Wilde, Michael Spiegel, Timothy R. Brick, Ryne Estabrook, Timothy C. Bates, Paras Mehta, Timo von Oertzen, Ross J. Gore, Michael D. Hunter, Daniel C. Hackett, Julian Karch and Andreas M. Brandmaier. (2012) OpenMx 1.3 User Guide.

Examples

1
2
3
{

}

datashield/dsMxClient documentation built on May 14, 2019, 7:51 p.m.