edaPlots | R Documentation |
This is the main function that provides exploratory data analysis plots
edaPlots(
df,
time_column,
output_type = "summary",
n_cols = -1,
grey_bars = NULL
)
df |
Dataframe. A data frame object. |
time_column |
Character. The name of the time column in the data frame. Can be given only when the data is time series |
output_type |
Character. The name of the output to be displayed. Options are 'summary', 'histogram', 'boxplot', 'timeseries' & 'correlation'. Default value is summary. |
n_cols |
Numeric. A value to indicate how many columns to be included in the output. |
grey_bars |
List. A list of timestamps where each list contains two elements: start and end period, which will be highlighted in gray in the time series plot. Default value is NULL. |
Five objects which include time series plots, data distribution plots, box plots, correlation plot and a descriptive statistics table.
Vishwavani <vishwavani@mu-sigma.com>
dataset <- data.frame(date = as.numeric(time(EuStockMarkets)),
DAX = as.numeric(EuStockMarkets[, "DAX"]),
SMI = as.numeric(EuStockMarkets[, "SMI"]),
CAC = as.numeric(EuStockMarkets[, "CAC"]),
FTSE = as.numeric(EuStockMarkets[, "FTSE"]))
edaPlots(dataset)
edaPlots(dataset, time_column = 'date', output_type = 'timeseries', n_cols = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.