Skip to contents

A function to simulate missing data

Usage

simMiss(n_obs, dat, t = seq(0, 1, length.out = 51), seed = 51)

Arguments

n_obs

Number of observations to keep

dat

A matrix of data

t

A vector of time points

seed

A seed for random number generation

Value

A matrix of data with missing values