replaceMissing: replaceMissing

Description Usage Arguments Examples

View source: R/replaceMissing.R

Description

Replace missing values in normalised indicators. This is a simple wrapper around replace and should be called after normalScores. Note that normalScores will show a warning when NA values are present in the data. This function is designed to assign the missing values to the centre of the normalised distribution (0).

Usage

1

Arguments

v

a numeric vector as the input variable

Examples

1
replaceMissing(c(1, 2, 3, NA))

TheDataLabScotland/simdr documentation built on May 29, 2019, 1:05 p.m.