SY: SY

Description Usage Arguments Value Examples

View source: R/SY.R

Description

SY

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
SY(x, ...)

## S3 method for class 'data.frame'
SY(x, group, targetDim, ...)

## S3 method for class 'grouped_df'
SY(x, targetDim, ...)

## S3 method for class 'resample'
SY(x, targetDim, ...)

## S3 method for class 'matrix'
SY(..., targetDim, svdMethod = svd)

Arguments

x

data

...

other options

group

grouping variable

targetDim

target dimension to reduce the data to

svdMethod

svd function used for dimesion reduction by default svd in base is used

Value

list of reduced data, projection matrix, group variable, discrimination function, m matrix.

Examples

1
SY(iris, group = Species, targetDim = 1)

BenBarnard/slidR documentation built on Jan. 2, 2018, 4:32 p.m.