centralImputTsNAs: 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
centralImputTsNAs(train, test, nORp)

Arguments

train

training data set

test

testing 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.