Run jtdm

Set of functions run, plot and get model parameters a joint trait distribution model using conjugate posteriors.

jtdm_fit()

Fitting joint trait distribution models

getB()

Get the inferred regression coefficients

get_sigma()

Get the inferred residual covariance matrix

summary(<jtdm_fit>)

Prints the summary of a fitted jtdm

plot(<jtdm_fit>)

Plots the parameters of a fitted jtdm

Marginal predictions and evaluate model fit

Set of functions to predict single trait distribution, evaluate model fit and plot partial response curves

jtdm_predict()

Predict method for joint trait distribution model

jtdmCV()

K-fold cross validation predictions and goodness of fit metrics

partial_response()

Computes and plots the trait-environment relationship of a given CWM trait and a given environmental variable

Joint predictions and visualisation

Set of functions to predict traits jointly and visualise multivariate confidence intervals

joint_trait_prob()

Computes joint probabilities.

joint_trait_prob_gradient()

Computes partial response curves of joint probabilities

ellipse_plot()

Partial response curve of the pairwise most suitable community-level strategy and of the pairwise envelop of possible community-level strategy

Data sets

X X

Site x environmental covariates dataset

Y

Site x CWM traits dataset

Package description

jtdm

jtdm.

Various

global

Global