prep_data_for_rstan: prepare data for stan call

View source: R/prep_data_for_rstan.R

prep_data_for_rstanR 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


EloSteepness documentation built on Sept. 21, 2023, 1:06 a.m.