diff --git a/vignettes/gd_functions.Rmd b/vignettes/gd_functions.Rmd index 5fe4786..d559b4f 100644 --- a/vignettes/gd_functions.Rmd +++ b/vignettes/gd_functions.Rmd @@ -273,7 +273,7 @@ print(paste0("The poverty severity is ", round(SPG*100,2), "%")) ``` Using `pipster`, we simply do: -```{r severity} +```{r severity-pipster} severity <- pipgd_pov_severity(welfare = pip_gd$L, weight = pip_gd$P, mean = mu, diff --git a/vignettes/md_functions.Rmd b/vignettes/md_functions.Rmd index 14907d6..45a2191 100644 --- a/vignettes/md_functions.Rmd +++ b/vignettes/md_functions.Rmd @@ -83,7 +83,7 @@ print(paste0("The poverty headcount index is ", round(FGT0*100,2), "%")) ``` In `pipster`, we can simply use the `pipmd_pov_headcount()` function: -```{r headcount-pipster warning = FALSE} +```{r headcount-pipster} pip_FGT0 <- pipmd_pov_headcount(welfare = pip_md$welfare, weight = pip_md$weight, povline = z)