TIMECON {DSAM}R Documentation

'DSAM' - Time-consecutive algorithm

Description

This function selects a time-consecutive data from the original data set as the calibration (training and test) subset, and the remaining data is taken as the evaluation subset.

Usage

TIMECON(data, control)

Arguments

data

The dataset should be matrix or Data.frame. The format should be as follows: Column one is a subscript vector used to mark each data point (each row is considered as a data point); Columns from 2 to N-1 are the input data, and Column N are the output data.

control

User-defined parameter list, where each parameter definition refers to the par.default function.

Value

Return the calibration and validation subsets.


[Package DSAM version 1.0.2 Index]