R/JSDM_bino_pro.R
JSDM_bino_pro.RdRun jSDM_binomial_probit from jSDM package and plot results for some species. Plots can be display and/or save.
JSDM_bino_pro(
PA,
site_data,
n_latent = 0,
V_beta,
mu_beta,
nb_species_plot = 2,
display_plot = TRUE,
save_plot = FALSE
)int matrix. Presence Absence for each species (col) on each site (row). Avoid empty row or column
float matrix. Explanatories variables for each site without missing values. Same number of row than number of row in `PA`
int. number of latent variables to use in the model, default is 0.
float vector. Variances of Normal priors for the beta parameters.
float vector. Means of Normal priors for the beta parameters.
number of species whose results are display.
boolean. If TRUE, display all plot, default is TRUE.
boolean. Save in local in .png all plot in folder plot, default is FALSE.
jSDM object. output of 'jSDM_binomial_probit' from 'jSDM' library