View source: R/vector_rsa_model.R
vector_rsa_model | R Documentation |
This function integrates a vector_rsa_design and an mvpa_dataset to create a vectorized RSA model.
vector_rsa_model(
dataset,
design,
distfun = cordist(),
rsa_simfun = c("pearson", "spearman"),
nperm = 0,
save_distributions = FALSE,
return_predictions = FALSE
)
dataset |
An |
design |
A |
distfun |
A |
rsa_simfun |
A character string specifying the similarity function to use for RSA,
one of |
nperm |
Integer, number of permutations for statistical testing (default: 0). |
save_distributions |
Logical, whether to save full permutation distributions (default: FALSE). |
return_predictions |
Logical, whether to return per-observation similarity scores (default: FALSE). |
If 'return_predictions' is TRUE, the output of 'run_regional' or 'run_searchlight' will include a 'prediction_table' tibble containing the observation-level RSA scores.
A vector_rsa_model
object (S3 class) containing references to the dataset, design, and function parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.