Installation

The lmstt package is maintained on github and can be installed via

devtools::install_github('lmsteffen/lmstt')

Example

The lmstt package contains the df_apply function which will apply a function and any arguments to a selection of columns in a dataframe. An example is shown below on the iris dataset.

library(lmstt)
df_apply(iris, round, is.numeric, identity, digit = 0) |> head()


lmsteffen/lmstt documentation built on March 22, 2022, 12:06 a.m.