Almer_sim {evolvability}R Documentation

Simulate responses from Almer fit

Description

Almer_sim Simulate responses from an Almer model fit.

Usage

Almer_sim(mod, nsim = 1000)

Arguments

mod

A fitted object from Almer

nsim

The number of simulations.

Details

This function is only included as the simulate.merMod function did not seem to work properly when the number of random effect levels equal the number of observations.

Value

Almer_sim a matrix of simulated responses, columns correspond to each simulations.

Author(s)

Geir H. Bolstad

Examples

# See the vignette 'Phylogenetic mixed model'.

[Package evolvability version 2.0.0 Index]