mxComputeLoadContext: Load contextual data to supplement checkpoint

View source: R/MxCompute.R

mxComputeLoadContextR Documentation

Load contextual data to supplement checkpoint

Description

\lifecycle

experimental

Usage

mxComputeLoadContext(
  method = c("csv"),
  path = c(),
  column,
  ...,
  sep = " ",
  verbose = 0L,
  header = TRUE,
  col.names = NULL
)

Arguments

method

name of the conduit used to load the columns.

path

the path to the file containing the data

column

a character vector. The column names to log.

...

Not used. Forces remaining arguments to be specified by name.

sep

the field separator character. Values on each line of the file are separated by this character.

verbose

integer. Level of run-time diagnostic output. Set to zero to disable

header

logical. Whether the first row contains column headers.

col.names

character vector. Column names

Details

Currently, this only supports comma separated value format and no row names. If header=TRUE and col.names are provided, the col.names take precedence. If header=FALSE and no col.names are provided then the column names consist of the file name and column offset.

An originalDataIsIndexOne option is not offered. You'll need to add an extra line at the start on your file if you wish to make use of originalDataIsIndexOne in mxComputeLoad*.

See Also

mxComputeCheckpoint, mxComputeLoadData, mxComputeLoadMatrix


OpenMx documentation built on Oct. 19, 2024, 9:06 a.m.