ReplaceValue: Replace NA values

Description Usage Arguments Value

View source: R/ReplaceValue.R

Description

Replace NA values

Usage

1
ReplaceValue(data, colName, method)

Arguments

data

A FData object

colName

A column name

method

Either "mean" or "random". Method "mean" replaces a NA value by the mean value of the sample. Method "random" replaces a NA value by a value drawn randomly from the sample.

Value

Return a vector completed.


thomasdenis973/FormatDataToGDS documentation built on May 24, 2019, 2:03 a.m.