checkValidity: A checkValidity Function

Description Usage Arguments Value Author(s) Examples

Description

'checkValidity' checks the class of the different variables in the data frame and returns a list of numeric and factor or character variables. It also returns basic summary statistics(mean, median, min, max) for numeric and categorical/character variables It also returns the number of colunms and rows in the data frame.

Usage

1

Arguments

dat

Data in data frame format.

numeric

Numeric data type.

cat

Categorical or factor data type.

Value

Returns a list of numeric and character(factor) variables, basic summary statistics and number of rows and columns in the data frame

Author(s)

Henry Nanji, Saisakul Chernbumroong

Examples

1
2
3
library(FactoMineR)
data(wine)
checkValidity(wine, numeric=TRUE)

mdapack documentation built on July 1, 2020, 10:30 p.m.