Plot.VisualizeSupervise: Visualize High-dimensional data in a 3D scatter plot

Description Usage Arguments Value

Description

Use dimension reduction (Principle Component Analysis) to visualize a classification/regression data in a 2D or 3D plot

Usage

1

Arguments

formula

regression or classification formula. If classification, the left hand side must be a factor or character. If regression, the left hand side must be numeric.

data

Data Frame or matrix for the formula

dim

Dimmension to be plotted. If null, will plot 2D if only 2 predictors, 3D otherwise.

Value

A list of: Plot: the plot, VarExplained: proportion of variance explained by each PC, TotalVarExplained: total proportion of variance explained by PCs


minh2182000/MToolBox documentation built on May 8, 2019, 3:14 a.m.