replace_missings: Replace missing values (typically in a vector or matrix)

Description Usage Arguments Value

View source: R/helper_functions.R

Description

Replace missing values (typically in a vector or matrix)

Usage

1
replace_missings(x, replacement = 0)

Arguments

x

Vector (or matrix) with NA values somewhere

replacement

Defaults to zero for numeric data, but can be anything really

Value

new matrix with randomized columns or rows, respectively


fossbert/binilib documentation built on April 23, 2021, 10:31 p.m.