ImputeMechanism.object {dejaVu} | R Documentation |
ImputeMechanism object
Description
An object which defines a mechanism for taking
a SingleSimFit
object and imputing missing data
to create a ImputeSim
Arguments
name |
The method name (used for printing) |
cols.needed |
which columns of the SingleSim data frame are required by the method, typically
|
impute |
A function which takes a |
parameters |
A list of named parameters describing the method (used for printing) - or NULL if none |
Details
It is possible to create user defined mechanisms, however,
common mechanisms have already been implemented. For example see
weighted_j2r
A print.ImputeMechanism
method is defined.
Structure
The following components must be included in an ImputeMechanism Object
Examples
j2r <- weighted_j2r(trt.weight=0)