d.spls.listecal: Determine the number of observations to select from each cell

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

d.spls.listecalR Documentation

Determine the number of observations to select from each cell

Description

The function d.spls.listecal detemines the number of observations to select as calibration from each cell.

Usage

d.spls.listecal(Xtype, pcal)

Arguments

Xtype

a vector of index specifying to which group belongs each observation.

pcal

a positive integer between 0 and 100. pcal is the percentage of calibration samples to be selected.

Value

a numeric vector specifying how many observations from each group should be selected as calibration.

Author(s)

Louna Alsouki François Wahl

See Also

d.spls.type,d.spls.calval,d.spls.split


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