| tableau_fgt | R Documentation |
Genere un tableau des indices FGT formate selon les conventions des INS africains et de la Banque mondiale (EHCVM).
tableau_fgt(
fgt_obj,
format = c("tibble", "flextable", "excel"),
chemin = NULL,
titre = NULL,
inclure_sous_groupes = TRUE
)
fgt_obj |
objet |
format |
character – Format de sortie : |
chemin |
character ou NULL – Chemin du fichier Excel.
Si NULL, utilise |
titre |
character – Titre du tableau |
inclure_sous_groupes |
logical – Inclure les tableaux par sous-groupe. Defaut : TRUE |
Tibble, flextable ou chemin du fichier Excel
set.seed(42)
menages <- data.frame(
depense_pc = c(rexp(70, rate = 1/150000), rexp(30, rate = 1/400000)),
poids = runif(100, 0.8, 1.2)
)
fgt <- calcul_fgt(menages, "depense_pc", 220000, poids = "poids")
tableau_fgt(fgt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.