Learn R Programming

artemis (version 1.1.1)

ranef,eDNA_model_lmer-method: Summarize random effect

Description

Summarize random effects

Usage

# S4 method for eDNA_model_lmer
ranef(object, FUN = quantile, probs = c(0.025, 0.5, 0.975), ...)

Arguments

object

an object of class eDNA_model

FUN

a posterior summary function, default quantile

probs

probabilities for the posterior summary function

...

extra args passed to FUN

Value

matrix, with one row per random effect, and one column per probability

Details

This function returns a summary of the random effects for an eDNA_model produced by eDNA_lmer