get_data.ds_generalization {NeuroDecodeR}R Documentation

A datasource (DS) method to generate training and test sets

Description

This is a function that must be implemented by all DS objects. This method should not be called directly but instead it is used internally by the cross-validator (CV) object.

Usage

## S3 method for class 'ds_generalization'
get_data(ds_obj)

Arguments

ds_obj

The datasource object.

Value

This method returns a data frame where each row corresponds to a data from one time point on a single trial.

See Also

ds_basic(), ds_generalization()


[Package NeuroDecodeR version 0.2.0 Index]