knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
efun
is a miscellaneous package. A collection of functions that I have
accumulated over the years and used for various tasks. For a long time it was just a private package, only shared sometimes with collaborators.
Most functions do not have much guardrails, though.
You can install from Github:
remotes::install_packages_github("edalfon/efun")
temp_html <- tempfile(fileext = ".html") nlsw88 <- haven::read_dta('http://www.stata-press.com/data/r15/nlsw88.dta') dt_widget <- efun::abridge_df(nlsw88, file = temp_html) webshot::webshot(temp_html, file = "man/figures/README-abdridge.png")
nlsw88 <- haven::read_dta('http://www.stata-press.com/data/r15/nlsw88.dta') efun::abridge_df(nlsw88)
See efun
's web site https://edalfon.github.io/efun for some more
examples and
all functions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.