knitr::opts_chunk$set(echo = TRUE) knitr::opts_knit$set(root.dir = rprojroot::find_rstudio_root_file()) options(tinytex.verbose = TRUE) # knitr::opts_knit$get("root.dir") # alternative to the previous line # the default autosave location will depend on this being setup options(warn=-1)
library(fpemlocal) fit <- fit_fp_c( division_numeric_code = 4, is_in_union = "Y", first_year = 1970, last_year = 2030 )
results <- calc_fp_c(fit)
plot_fp_c( fit, results, indicators = c( "contraceptive_use_modern" ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.