makeNumSumTask: Creates a NumericSummaryTask Object (for numeric and integer...

Description Usage Arguments Value Examples

Description

A Task encapsulates the Data with some additional information

Usage

1
2
3
makeNumSumTask(id, data, target, geom.hist.args = list(bins = 30, alpha =
  0.4), geom.dens.args = list(size = 2, alpha = 0.4),
  geom.box.args = list(), show.NA.msg = FALSE, ...)

Arguments

id

[character(1)]
ID of the Task Object

data

[data.frame]
A Dataframe with different variables

target

[character(1)]
Target column. If not available please insert as NULL.

geom.hist.args

[list()]
Other arguments to be passed to geom_histogram. Default is list(bins = 30, alpha = 0.4)

geom.dens.args

[list()]
Other arguments to be passed to geom_density. Default is list(size = 2, alpha = 0.4)

geom.box.args

[list()]
Other arguments to be passed to geom_boxplot. Default is NULL. Default args from geom_boxplot will be passed.

show.NA.msg

[logical(1)]
Logical whether to show missing values message
Default is FALSE.

...

For now has no use

Value

NumSumTask object

Examples

1
2
3
4
5
 data("Aids2", package = "MASS")
 num.sum.task = makeNumSumTask(id = "AidsTask", data = Aids2,
   target = "sex")
 #get Data
 num.sum.task$env$data

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