Description Usage Arguments Value
View source: R/pred_cond_entire.R
Calculates conditional likelihood of one species presences based on environmental values and presence of other species at a range of sites.
1 2 | pred_cond_entire(draws, betas_shared, betas_ssv = NULL, site_matrix,
occupancy_matrix, temp_vector, focal_species, ssv = FALSE)
|
draws |
A set of mcmc draws produced by the GRETA function draws. |
betas_shared |
Non species-specific enrivonmental parameters. |
betas_ssv |
Species-specific environmental parameters. |
occupancy_matrix |
Occupancy matrix for all species. |
temp_vector |
Vector of temperatures at different sites, used to determine cooccurrence matrices. |
focal_species |
Integer which dictates which species in the occupancy vector you want to test likelihood of. |
ssv |
Whether or not the model contains species specific variables. |
Vector of length site giving likelihoods of species presence at every site.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.