aiRsubset: aiRsubset

Description Usage Arguments Value

View source: R/organized.R

Description

aiRsubset

Usage

1
aiRsubset(x, sample.method, sample.size, sample.Factor = NULL)

Arguments

x

input

sample.method

Method to train data. "Sample" to take a sample of values in data. "Factor"

sample.size

Number between (0-1) that modifies how much of training data is used.

sample.Factor

Necessary when sample.method set to "Factor". Assign as vector of length 2 in the following form c("column.index/name","factor.level"). Can assign only column name or index but first level is chosen in this case.

Value

Row numbers to subset


jtlandis/aiR documentation built on Dec. 26, 2019, 3:35 a.m.