sim_ind_pars_multi: Simulate individual parameters from beta-like group-level...

View source: R/simulate_parameters.R

sim_ind_pars_multiR Documentation

Simulate individual parameters from beta-like group-level priors (with lower and upper bounds) for multiple simulations with different parameter settings

Description

Simulate individual parameters from beta-like group-level priors (with lower and upper bounds) for multiple simulations with different parameter settings

Usage

sim_ind_pars_multi(
  exp_struct_list,
  mu_list,
  sigma_list = NULL,
  range_list = NULL,
  sigma = 0.1,
  range = c(0, 1),
  seed = NULL
)

Arguments

exp_struct_list

list specifying the experimental structure (current version needs only the nsub field, specifying the number of participants)

mu_list

hierarchical list specifying group parameter means (e.g.list(mu_alpha=c(0.25,0.5,0.75),mu_tau =c(0.25,0.5,0.75))

seed

you know what a seed is


SpTB/wztools documentation built on July 2, 2023, 11:50 a.m.