MCAR.df: Assign NAs to columns in a dataframe completely at random

Description Usage Arguments Value Note Author(s)

View source: R/missingness.R

Description

Create a dataframe with data missing completely at random

Usage

1
MCAR.df(df, p)

Arguments

df

a dataframe that missing data should be supplied to

p

A value from 0 to 1 representing the proportion of df that should be replaced with NAs

Value

df with proportion p of values replaced with NA

Note

Yadda yadda yadda

Author(s)

Jared E. Knowles


jknowles/datasynthR documentation built on May 19, 2019, 11:42 a.m.