orthus_sim: Simulate simple orthus dataset and priors (for testing)

View source: R/orthus_sim.R

orthus_simR Documentation

Simulate simple orthus dataset and priors (for testing)

Description

Simulate simple orthus dataset and priors (for testing)

Usage

orthus_sim(
  D = 10,
  P = 10,
  N = 30,
  Q = 2,
  use_names = TRUE,
  true_priors = FALSE
)

Arguments

D

number of multinomial categories (integer >= 2)

P

number of dimensions of second dataset Z (integer >= 1)

N

number of samples (integer >= 1)

Q

number of covariates (integer >= 1; first one is an intercept)

use_names

should samples, covariates, and categories be named

true_priors

should Xi and upsilon be chosen to have mean at true simulated value

Value

list

Examples

sim <- orthus_sim()

fido documentation built on Oct. 31, 2026, 1:07 a.m.