prep_data_for_rstan {EloSteepness}R Documentation

prepare data for stan call

Description

prepare data for stan call

Usage

prep_data_for_rstan(mat, n_rand = 1, silent = FALSE, for_elo_model = TRUE)

Arguments

mat

square interaction matrix

n_rand

numeric, number of randomizations

silent

logical, omit printing messages regarding non-fatal data issues. Default is FALSE, i.e. do print messages.

for_elo_model

logical, output ready for Elo steepness (default, TRUE). If FALSE, prep for David's score steepness.

Value

a list that is formatted so that it can be handed over to the respective Stan models


[Package EloSteepness version 0.5.0 Index]