Learn R Programming

specmine (version 1.0)

impute_nas_value: Impute missing values with value replacement

Description

Impute missing values with value replacement.

Usage

impute_nas_value(dataset, value)

Arguments

dataset
list representing the dataset from a metabolomics experiment.
value
value to replace the missing values.

Value

Returns the dataset with no missing values.

Examples

Run this code
  ## Example of NA imputation with value replacing
  data(propolis)
  propolis = impute_nas_value(propolis, 0.0005)

Run the code above in your browser using DataLab