te_plot: Plot the relationship between a trait and the environment...

Description Usage Arguments Methods (by class) Examples

Description

Plot the relationship between a trait and the environment infered from a multispecies model

Usage

1
2
3
4
te_plot(x, x_var, trait, nsims = 200, rlim = c(-2, 2))

## S4 method for signature 'glmerMod'
te_plot(x, x_var, trait, nsims = 200, rlim = c(-2, 2))

Arguments

x

An object of class 'glmerMod'

x_var

Character. Name of site-level predictor variable.

trait

Character. Name of species trait variable.

nsims

Integer. Number of simulations for approximate Bayesian estimates of credible intervals and posterior densities.

rlim

Numeric vector. The x axis limits of the confidence ribbon.

Methods (by class)

Examples

1
2
msm_fit <- msm('present', 'plot', 'logit_rock', 'species', 'ln_sla', eucs)
te_plot(msm_fit, 'logit_rock', 'ln_sla')

wkmor1/msmod documentation built on May 4, 2019, 7:34 a.m.