index_Xi: Index generating function

Description Usage Arguments Value Examples

Description

This function will generate a series of indexes used to index out the variables of the ith data set when we only know the number of variables

Usage

1
index_Xi(i, ds)

Arguments

i

index for the ith data set.

ds

a vector contains the number of variables for all the data sets.

Value

A series of indexes for the variables in the ith data set

Examples

1
## Not run: index_Xi(2, c(400,200,100))

YipengUva/RpESCA documentation built on July 2, 2019, 6:41 p.m.