Main Characteristics of the Dataset

Share:

Description

Display the number of rows, the mean, standard deviation, range and correlations of the inputs and output.

Usage

1
descrdata(X, Y)

Arguments

X

matrix with as many columns as inputs. Dataset of inputs.

Y

vector of length equal to the number of rows in X. Model outputs.

Value

Nothing. It is a display function.

Examples

1
2
3
4
5
6
### Load the dataset
load(system.file("extdata",  "ishigami200.Rda", package="plspolychaos"))
X <- ishi200[, -ncol(ishi200)] # inputs
Y <- ishi200[,  ncol(ishi200)] # output
### Data characteristics
descrdata(X, Y)