All functions

allclose

Check whether all elements of array or vector like objects are the same

beta_ols

Get OLS regression coefficients

combine

Semi-general unite to vectorize a function across columns of dataframe

constants_like

Create object of same shape and type as x filled with value c

count_non_na

Count non-NA values in a vector

ggpie

Create a pie chart in ggplot2

hayeslib

hayeslib: a package to learn about packages. #meta

linspace

Returns evenly spaced numbers.

logspace

Returns numbers evenly spaced in logspace.

lzy_chr

Create character vector without quotes

lzy_impute

Mean impute and optionally add missingness indicator

mutate_by

Mutate by group with less boilerplate

na_counts

Summarize missing data in each column of a dataframe

num_levels

Count the number of unique factor level combinations present in a data frame

pdf_table

Add a nicely formatted table to a PDF knitr from R markdown

perc

Generic to calculate percentages in the same vein as `dplyr::count`

quad_form

Calculate the value of a quadratic form

rand_n_groups

Select random groups from a dataframe with NSE

remove_na

Remove all NA values for a vector

rmse

Get the RMSE of a set of predictions

rmvn_ql

Sample efficiently from the MVN parameterized by Q matrix and ell vector

spread_keep

Spread, but keep the key column

summarize_by

Summarize by group with less boilerplate

t_df

Transpose a dataframe

to_na

Set an arbitrary number of elements in a vector to NA

top_n_groups

Select rows in the top n groups according to some summarization operation

var_plot

Plot the variable importance of a ranger object