BIFIEdata
Objectssave.BIFIEdata.Rd
These functions save (save.BIFIEdata
), write (write.BIFIEdata
)
or load (load.BIFIEdata
) objects of class BIFIEdata
.
The function load.BIFIEdata.files
allows the creation
of BIFIEdata
objects by loading separate files of imputed datasets,
replicate weights and a possible indicator dataset.
save.BIFIEdata(BIFIEdata, name.BIFIEdata, cdata=TRUE, varnames=NULL)
write.BIFIEdata( BIFIEdata, name.BIFIEdata, dir=getwd(), varnames=NULL,
impdata.index=NULL, type="Rdata", ... )
load.BIFIEdata(filename, dir=getwd() )
load.BIFIEdata.files( files.imp, wgt, file.wgtrep, file.ind=NULL,
type="Rdata",varnames=NULL, cdata=TRUE, dir=getwd(), ... )
Object of class BIFIEdata
Name of BIFIEdata
set to be saved
An optional logical indicating whether the dataset should be saved in a 'compact way'
Vector of variable names which should be saved. The default is to use all variables.
Directory in which data files should be saved. The default is the working directory.
Vector of indices for selecting imputed datasets
Type of saved data. Options are Rdata
(function
base::save
,
csv
(function utils::write.csv
),
csv2
(function utils::write.csv2
),
table
(function utils::write.table
),
sav
(function foreign::read.spss
for reading sav files and function
sjlabelled::write_spss
for writing sav files).
Additional arguments to be passed to
base::save
,
utils::write.csv
,
utils::write.csv2
,
utils::write.table
,
foreign::read.spss
,
sjlabelled::write_spss
File name of BIFIEdata
object
Vector of file names of imputed datasets
Variable name of case weight
File name for dataset with replicate weights
Optional. File name for dataset with response data indicators
Saved R object and a summary in working directory or a loaded R object.
For creating objects of class BIFIEdata
see BIFIE.data
.