data_sample: Extract Sample from Dataset

View source: R/allgeneric.R

data_sampleR Documentation

Extract Sample from Dataset

Description

This function extracts a sample from a given dataset object.

Usage

data_sample(obj, vox)

Arguments

obj

The input dataset object, which should be an instance of a data class compatible with sample extraction.

vox

the voxel indices/coordinates associated with the data sample.

...

Additional arguments to be passed to the specific sample extraction method for the input object's class.

Value

A sample extracted from the input dataset based on the specific extraction method.


bbuchsbaum/rMVPA documentation built on April 28, 2024, 6:30 a.m.