read.cefa(file)
read.CEFA(file)
read.cefa
returns a dataframe with
columns as variables. Such a dataframe can be passed to the data
argument of Factanal
. If a covariance matrix is imported,
read.cefa
returns a two-element list with the following items:covmat
argument of
Factanal
.read.cefa
does not support importing a matrix of factor loadings,
(Datatype 3 in CEFA) because the file does not include enough information
to be useful to FAiR. Instead, import the covariance matrix (Datatype 1 in
CEFA) or the raw dataset (Datatype 2 or 4 in CEFA) and use
Factanal
to reestimate the model. read.CEFA
is just
an alias for read.cefa
. These functions have not been tested very
much and may fail if the file being imported does not strictly adhere to
the file format described in the CEFA documentation.read.table
for a function to
import delimited text files and read.fwf
for a function
to import fixed-width text files.OrgComm <- read.cefa(file = file.path("Program Files", "CEFAtool" "OrgComm.inp"))
Run the code above in your browser using DataLab