Learn R Programming

dual.spls (version 0.1.4)

d.spls.type: Splitting the observations into groups

Description

The internal function type divides the response vector y in cells of equal range and attributes a index type to the observations according to the corresponding cell

Usage

d.spls.type(y, ncells)

Value

A vector of index specifying each observation belonging to which group index.

Arguments

y

a numeric vector.

ncells

a positive integer. ncells is the number of subsamples desired.

Author

Louna Alsouki François Wahl

See Also

d.spls.split, d.spls.calval