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/DS303_Rpackage documentation built on April 14, 2022, 11:45 a.m.