Learn R Programming

metamorphr (version 0.3.0)

impute_user_value: Impute missing values by replacing them with a user-provided value

Description

Replace missing intensity values (NA) with a user-provided value (e.g., 1).

Usage

impute_user_value(data, value)

Value

A tibble with imputed missing values.

Arguments

data

A tidy tibble created by read_featuretable.

value

Numeric that replaces missing values

Examples

Run this code
toy_metaboscape %>%
  impute_user_value(value = 1)

Run the code above in your browser using DataLab