Skip to main content
. 2021 May 3;22:228. doi: 10.1186/s12859-021-04086-8

Table 2.

Syntax for model construction and for the simulate function (see text for variable definitions)

Simulation model in Table 1 Model construction syntax
(1) Model = GLMTrait(X,β, dist, link)
Model = GLMTrait(X,β,G,γ, dist, link)
(2, 3) Model = OrderedMultinomialTrait(X,β,θ, link)
(4) Model = VCMTrait(X,β,vc)
Model = VCMTrait(formula, dfvc)
Model = VCMTrait(X,β,G,γ,Σ,V)
(5) Model = GLMMTrait(X,β,vc, dist, link)
Simulation model in Table 1 simulate Function syntax
(1, 3, 4, 5) simulate(model)
(2) simulate(model, Logistic = true, cutoff = 2)