impute_ds: Impute numeric matrix in dataset object

View source: R/impute_w_mean.R

impute_dsR Documentation

Impute numeric matrix in dataset object

Description

Impute numeric matrix in dataset object

Usage

impute_ds(ds, p = 5, add_to_name = "imputed")

Arguments

ds

Dataset list object with vals, rowAnn, colAnn, name

p

the percent around the mean to impute, default: p=5%=5

add_to_name

String to add to the ds$name for new imputed dataset, default: "imputed"

Value

Dataset object where NA in vals has been imputed with random values around mean (default is 5%)


kazeera/hourglass documentation built on April 5, 2025, 7:18 a.m.