Description Usage Arguments Value Note See Also
View source: R/marginalCompleter.R
Wrapper to complete a dataset based on (univariate) marginal distributions
1 2 3 4 5 6 7 8 9 10 11 12 13 | marginalCompleter(weightsName = "weights",
orgriName = "orgri", maxFullNACatCols = 6,
howManyIfTooMany = 1000)
completeMarginal(object,ds, out, rowsToUse, verbosity=0)
## S3 method for class 'function'
completeMarginal(object,ds, out,
rowsToUse, verbosity=0)
## Default S3 method:
completeMarginal(object,ds, out,
rowsToUse, verbosity=0)
|
weightsName |
object that holds information to
convert an imputed dataset like
|
orgriName |
dataset for which the lambdas need to be found |
maxFullNACatCols |
see
|
howManyIfTooMany |
see
|
object |
object/function that will perform the actual imputation |
ds |
dataset that needs completion |
out |
outcomes |
rowsToUse |
rowindices of the rows that can actually be used |
verbosity |
The higher this value, the more levels of progress and debug information is displayed (note: in R for Windows, turn off buffered output) |
function that can actually perform the conversion – used
in EMLasso.1l
object of class marginalCompleted
, holding items:
ds
: completed dataset
out
: outcome variable
weights
:
weights to apply to each row of ds
completedUse
: rowindices within ds
to be
actually used
abstracts away creation of marginal completion: see
EMLasso.1l
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.