getNumSum: Computes the components and plots for the Numeric Summary

Description Usage Arguments Value

Description

getNumSum applies function over columns in order to extract location- and scale parameters.

In Addition to that, for each column, a ggplot object will be implemented. For the numeric summary data.frame following columns will be explained:

The sample kurtosis will be calculated via 1/n * ∑_{i=1}^{n}(x_i - \bar{x} / s)^{4}
The sample skewness will be calculated via 1/n * ∑_{i=1}^{n}(x_i - \bar{x} /s)^{3}
l.bound is defined as q_{0.25} - 1.5IQR and lbound is defined as q_{0.75} + 1.5IQR
where IQR = q_{0.75} - q{0.25}

Usage

1
getNumSum(data, features, target, geom.hist.args, geom.dens.args, geom.box.args)

Arguments

data

[data.frame]
A Dataframe with different variables.

features

[character(length(numeric.features))]
A character vector with length of the number of numeric features in the dataset. This will be computed automatically when calling this function.

target

[character(1)]
The target column

geom.hist.args

[list()]
Other arguments to be passed to geom_histogram. Inserted in makeNumSumTask

geom.dens.args

[list()]
Other arguments to be passed to geom_density. Inserted in makeNumSumTask

geom.box.args

[list()]
Other arguments to be passed to geom_boxplot. Inserted in makeNumSumTask

Value

[list()] A list containing the numeric summary and ggplot for each numeric column


ptl93/AEDA documentation built on May 7, 2019, 3:20 p.m.