makeCorrTask: Creates a CorrTask Objects

Description Usage Arguments Value Examples

Description

A Task encapsulates the Data with some additional information

Usage

1
2
makeCorrTask(id, data, method = "pearson", vars = NULL, type = "CorrPlot",
  show.NA.msg = FALSE, ...)

Arguments

id

[character(1)]
ID of the Task Object

data

[data.frame]
A Dataframe with different variables

method

[character(1)]
Defines the correlation method Possible choices are: “pearson”, “spearman”, “kendall”
Default method is method = "pearson"

vars

[character(1)]
Column names to use for correlation

type

[character(1)]
The type of the Report to create. Example: "CorrPlot"

show.NA.msg

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

...

For now has no use

Value

CorrTask

Examples

1
2
3
corr.task = makeCorrTask(id = "test", data = cars)
# Extract Data
corr.task$env$data

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