missingCurrentCount: Generate missing data depending on the counts

Description Usage Arguments

View source: R/missingCurrentCount.R

Description

The observed values will be either equal to the counts or missing. The probability of missing is the inverse of the counts + 1.

Usage

1
2
missingCurrentCount(dataset, proportion = 0.25, count.variable = "Count",
  observed.variable = "Observed")

Arguments

dataset

A dataset to a the observation with missing data

proportion

The proportion of observations that will be missing

count.variable

The name of the variable holding the counts

observed.variable

The name of the variable holding the observed values = either count or missing


ThierryO/multimput documentation built on May 10, 2017, 4:45 p.m.