centralImputTrNAs: Handling NAs in train and test

Description Usage Arguments Value

View source: R/workflow_utils.R

Description

Discard columns/rows with too many NAs and then impute with central value.

Usage

1
centralImputTrNAs(train, nORp)

Arguments

train

training data set

nORp

minimum percentage of NA values in a row/column for that row/column to be discarded from training set

Value

list with an entry for the training and test sets (in this order), both now with no NA values


mrfoliveira/STResampling-JDSA2020 documentation built on June 28, 2021, 7:01 p.m.