Run 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
)

Arguments

PA

int matrix. Presence Absence for each species (col) on each site (row). Avoid empty row or column

site_data

float matrix. Explanatories variables for each site without missing values. Same number of row than number of row in `PA`

n_latent

int. number of latent variables to use in the model, default is 0.

V_beta

float vector. Variances of Normal priors for the beta parameters.

mu_beta

float vector. Means of Normal priors for the beta parameters.

nb_species_plot

number of species whose results are display.

display_plot

boolean. If TRUE, display all plot, default is TRUE.

save_plot

boolean. Save in local in .png all plot in folder plot, default is FALSE.

Value

jSDM object. output of 'jSDM_binomial_probit' from 'jSDM' library