d.spls.type: Splitting the observations into groups

View source: R/d.spls.type.R

d.spls.typeR Documentation

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)

Arguments

y

a numeric vector.

ncells

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

Value

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

Author(s)

Louna Alsouki François Wahl

See Also

d.spls.split, d.spls.calval


dual.spls documentation built on April 19, 2023, 1:07 a.m.