createGPMMeta: Create a meta information dataset in gpm format

Description Usage Arguments Details Value References See Also Examples

View source: R/createGPMMeta.R

Description

Create a meta dataset layer for a gpm object.

Usage

1
createGPMMeta(dataset, type = "input", selector, response, predictor, meta)

Arguments

dataset

The name of the data frame variable used for initializing the gmp object

type

The type of the dataset (e.g. input, output), defaults to "input"

selector

An optional selector variable which can be used to control the sampling of subsets during model training

response

The column ID of the response, i.e. dependent variable(s) in the dataset

predictor

The column ID of the predictor, i.e. independent variable(s) in the dataset

meta

The column ID of variables in the dataset which contain only meta information not relevant for the model training

Details

The column ID information is transformed to column names in order to ensure integrity even if columns are deleted in a later stage.

Value

A list in the appropriate format to be used as meta data layer in a gpm object.

References

NONE

See Also

AAAgpmClasses for the gpm class.

Examples

1
2
3
4
5
6
## Not run: 
data(abies_alba)
createGPMMeta(dataset = abies_alba, type = "input",
              selector = 1, response = c(16:481), meta = c(2: 15))

## End(Not run)

environmentalinformatics-marburg/gpm documentation built on July 11, 2020, 11:12 a.m.