sub02: Sample beta values

Description Usage Format Details Value Examples

Description

Example dataset for testing analyses, and to see input structure

Usage

1

Format

Objects of class tbl_df (inherits from tbl, data.frame) a minimal tibble for the nmmr analysis (53856 x 7)

sub

factor ID of subject

run

factor ID of session

voxel

factor ID of voxel

contrast

Factor with different values of contrast. Note that the factor must have the lower levels of contrast correspond to a lower integer representation (e.g., low == 1 and high == 2).

orientation

Orientation presented on trial, in radians (between \pmπ). This is the tuning variable. Most functions require the numeric values, but some functions require only the factor levels (e.g., Deming$new() ).

y

beta values in given condition (corresponds to beta in betas2)

ses

factor ID of session

Details

Where possible, the columns of this dataframe follow the BIDS format. That is, sub specifies participant, and run is the run number within session ses.

The main functions of this package require data formatted analogously. At a minimum, you will need a column indexing voxels (e.g., voxel, in sub02), a column for the dependent variable (e.g., y), a column indexing the stimulus values for which voxels might be tuned (e.g., orientation), and a column indexing the experimental factor across which the tuning may be modulated (e.g., contrast). A column indexing participant (e.g., sub) is required for running the full hierarchical versions of the models. The other columns (e.g., run and ses) are not always necessary, but they help keep the data tidy and may also help with troubleshooting (e.g., voxel activity often differs across sessions).

Value

a tibble

Examples

1

psadil/nmmr documentation built on June 13, 2021, 11:42 a.m.