allvariables.summary: Summary of all variables within train and test data

Description Usage Arguments Value Examples

Description

Summary of all variables within train and test data

Usage

1
2
allvariables.summary(train.set, test.set, var.output, digits = 3,
  parallel = FALSE)

Arguments

train.set

The train data (a data frame)

test.set

The test data (a data frame)

var.output

(optional) The output variable (has to be a variable in train.set)

digits

(defaults to 3) Used for rounding of relative info

parallel

(defaults to FALSE) If TRUE, uses mclapply to list over variables

Value

A data frame which each row a variable in train.set

Examples

1
2
3
4
5
6
7
allvariables.summary(iris)
allvariables.summary(iris, var.output = "Sepal.Length")
set.seed(123)
iris_train <- iris[sample(150,50),-1]  # remove Sepal.Length
iris_test <- iris[sample(150,50),-2]   # remove Sepal.Width
allvariables.summary(iris_train,iris_test)
allvariables.summary(iris_train,iris_test,"Species")

ahdxb/data.exploration documentation built on May 11, 2019, 11:31 p.m.