visualize_data: Training and Test data Visualization for predictive...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/visualize_data.R

Description

The function for plotting of ggplot objects. For more details about the graphical parameter arguments, use ?visualize_data

Usage

1
visualize_data(df, id_engine, cols = NULL, type = "l", n_step = 20)

Arguments

df

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

id_engine

id for the input data to be shown.

cols

for the variable names of the input data to be shown.

type

what type of plot should be drawn. Possible types are:

l:

for line graphs

p:

for point graphs (scatter plots)

b:

for both line and point graphs

bp:

for box plots

h:

for histogram

hf:

for histograms of the healthy vs failing sensor Values

Value

a ggplot object containing the subgraphs of each variable from the input data.

Author(s)

Cuong Sai and Maxim Shcherbakov.

See Also

showDF, validate_data,summarize_data

Examples

1
2
3
4
5
visualize_data(train_data, id_engine = 1:10, type = "l")
visualize_data(train_data, id_engine = 1:10, cols = c("s1", "s2", "S8", "c2"), type = "p")
visualize_data(train_data, id_engine = 1:20, type = "bp")
visualize_data(train_data, id_engine = 1:100, type = "h")
visualize_data(train_data, id_engine = 1:100, type = "hp", n_step = 30)

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