EMLassoFromDir: Get EMLasso from the save files in a folder

Description Usage Arguments Value Author(s) See Also

View source: R/EMLassoFromDir.R

Description

Get EMLasso from the save files in a folder (like what is saved during EMLasso)

Usage

1
2
3
4
5
  EMLassoFromDir(dir,
    fileForm="EMLasso\\.1l_parallel_([0-9]+)\\.saved",
    toNrForm="\\1", postProcessAll = postProcessEMLasso,
    family="unidentifiable", params="unidentifiable",
    verbosity=0)

Arguments

dir

path where the files are

fileForm

Regular expression showing the form of the filenames (should also hold a group to find the index of that file)

toNrForm

replacement regular expression: combined with fileForm should turn the name into its index (see sub)

postProcessAll

function, like postProcessEMLasso (its default) and of that signature, to do some extra work before returning the result of EMLasso

family

see EMLasso, but it is overridden

params

see EMLasso object that will provide the conversion from imputed dataset to one that is ready for fitting the predictor model

verbosity

The higher this value, the more levels of progress and debug information is displayed (note: in R for Windows, turn off buffered output)

Value

very similar to the return value of EMLasso, though some (mostly unimportant) variables may be impossible to reconstruct, especially the call and params

Author(s)

Nick Sabbe nick.sabbe@ugent.be

See Also

EMLasso


EMLasso documentation built on May 2, 2019, 5:49 p.m.