handle_misv: Handling Missing Values

Description Usage Arguments Value Author(s) Examples

View source: R/handle_misv.R

Description

Imputation and Removing Data

Usage

1
handle_misv(df, method)

Arguments

df

the input dataframe containing multiple multivariate time series formatted using the specific Table Schema with missing values, use showDF() to display schema specification details.

method

the method for handling missing values. Possible methods are:

omit:

removes the rows containing any missing values

mean:

for point graphs (scatter plots)

median:

for both line and point graphs

mod:

for box plots

h:

for histogram

hf:

for histograms of the healthy vs failing sensor Values

Value

A new data frame without missing values

Author(s)

Cuong Sai and Maxim Shcherbakov.

Examples

1
2
3
4
5
6
## Not run: 
new_data <- handle_misv(data, method  = "omit")
new_data <- handle_misv(data, method  = "mean")
new_data <- handle_misv(data, method  = "median")

## End(Not run)

forvis/PdM documentation built on Dec. 5, 2020, 8:54 p.m.