Description Usage Format Details Value Examples
Example dataset for testing analyses, and to see input structure
1 |
Objects of class tbl_df (inherits from tbl, data.frame) a minimal tibble for the nmmr
analysis (53856 x 7)
factor ID of subject
factor ID of session
factor ID of voxel
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 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() ).
beta values in given condition (corresponds to beta in betas2)
factor ID of session
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).
a tibble
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.