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

Description Usage Arguments Value Examples

View source: R/orthus_sim.R

Description

Simulate simple orthus dataset and priors (for testing)

Usage

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

Arguments

D

number of multinomial categories

P

number of dimensions of second dataset Z

N

number of samples

Q

number of covariates (first one is an intercept, must be > 1)

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

1
sim <- orthus_sim()

jsilve24/mongrel documentation built on Jan. 27, 2022, 9:54 p.m.