predict_species_perc: Marginal prediction of species likelihoods at sites.

Description Usage Arguments Value

View source: R/predict_species_perc.R

Description

Calculates likelihood of species presences based solely on environmental values (marignal prediction).

Usage

1
2
predict_species_perc(draws, X_newdata, site_id_newdata = NULL,
  X_assoc_newdata = NULL, species_list)

Arguments

draws

A set of mcmc draws produced by the GRETA function draws.

X_newdata

Data for new sites to predict for.

site_id_newdata

Catchment IDs for new sites.

X_assoc_newdata

Avergae association correlation matrix.

species_list

List of species names.

Value

Matrix of site x species with likelihoods of presence at every site.


samaperrin/JSAM documentation built on June 16, 2020, 9:26 a.m.