makeCatSumTask: Creates a CategoricalSummaryTask Object (for factor, ordered...

Description Usage Arguments Value Examples

Description

A Task encapsulates the Data with some additional information

Usage

1
makeCatSumTask(id, data, target, 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.

show.NA.msg

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

...

other arguments to be passed to geom_bar.

Value

CatSumTask object

Examples

1
2
3
4
 data("Arthritis", package = "vcd")
 cat.sum.task = makeCatSumTask(id = "Arthritis.Task", data = Arthritis, target = "Improved")
 #get Data
 cat.sum.task$env$data

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