Skip to contents

The function randomly selects 100 observations from the generated data and replaces the unselected observations with NA.

Usage

RandomMeasurement(sim)

Arguments

sim

R object. Output of the GenData() function.

See also

Other Data Generation Functions: GenData(), IllustrationGenData()

Examples

if (FALSE) { # \dontrun{
set.seed(42)
sim <- GenData(taskid = 1)
RandomMeasurement(sim)
} # }