Skip to contents

Data manipulation

long_to_periods()
Transform a data frame from long format to period format
unrowwise()
Remove row-wise grouping

Descriptive statistics

proportion()
Compute proportions
round_preserve_sum()
Round values while preserve their rounded sum in R

Models

observed_vs_theoretical()
Plot observed vs predicted distribution of a fitted model
step_with_na()
Apply step(), taking into account missing values

Classification tree

plot_inertia_from_tree() get_inertia_from_tree()
Plot inertia, absolute loss and relative loss from a classification tree

Logical operators

is_different() is_equal() cumdifferent() num_cycle()
Comparison tests considering NA as values to be compared

Utilities

install_dependencies()
Install / Update project dependencies
leading_zeros()
Add leading zeros

Datasets

titanic
Titanic data set in long format