censor_data {emery}R Documentation

Censor data randomly rowwise

Description

Censor data randomly rowwise

Usage

censor_data(
  n_obs = dis$n_obs,
  first_reads_all = first_reads_all,
  n_method_subset = n_method_subset,
  n_method = n_method
)

Arguments

n_obs

An integer representing the number of observations to simulate.

first_reads_all

Used for binary methods. A logical which forces method 1 to have a result for every observation

n_method_subset

Used for binary methods. An integer defining how many methods to select at random to produce a result for each observation

n_method

An integer representing the number of methods to simulate.


[Package emery version 0.5.1 Index]