bgm2: Bayesian function (not used for the moment) 'bgm2' fonction...

bgm2R Documentation

Bayesian function (not used for the moment) bgm2 fonction graphique

Description

Bayesian function (not used for the moment) bgm2 fonction graphique

Usage

bgm2(tab_input, min_c, max_c, Er, CVr, CV_Cobs, CV_Iobs, n_proj = 0)

Arguments

tab_input

mcmc list

n_proj

nombre d'annee de projection

Examples


#Les données d'entrée
data(tableau_pa)

resultats_pa<-delta (tab=tableau_pa, esp="BOBO",list_param=c("mois","zone","type_pirogue","motorisation","zone2","saison","engin_peche2"), type_donnee="commercial", effort="auto", titre="PA", param_test=c("mois","zone","type_pirogue","motorisation","zone2","saison","engin_peche2"), espece_id_list='espece', var_eff_list= c("nb_jour_peche", "nb_sorties"), ope_id=c("presence","code_pays","annee", "mois", "zone", "zone2" , "saison", "type_pirogue" , "motorisation" , "engin_peche", "engin_peche2"), col_capture='captures', logtrans="auto", interactions="auto", facteur_flotille="engin_peche2", seuil=0.05)
pre_global_model_pa<-sqldf('select annee as Year,sum(i_ab) as C,avg("E.dens") as I from resultats_pa group by annee',drv='SQLite')
bgm2(pre_global_model_pa)

polehalieutique/demerstem documentation built on Aug. 4, 2024, 5:12 a.m.