Learn R Programming

guideR

guideR package is a companion for the manual guide-R : Guide pour l’analyse de données d’enquêtes avec R available at https://larmarange.github.io/guide-R/.

guideR implements miscellaneous functions introduced in guide-R to facilitate statistical analysis and manipulation of survey data.

Installation & Documentation

To install stable version:

install.packages("guideR")

Documentation of stable version: https://larmarange.github.io/guideR/

To install development version:

# install.packages("pak")
pak::pkg_install("larmarange/guideR")

Documentation of development version: https://larmarange.github.io/guideR/dev/

Copy Link

Version

Install

install.packages('guideR')

Monthly Downloads

729

Version

0.8.1

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Joseph Larmarange

Last Published

December 19th, 2025

Functions in guideR (0.8.1)

plot_categorical

Plot a categorical variable by sub-groups
observed_vs_theoretical

Plot observed vs predicted distribution of a fitted model
long_to_periods

Transform a data frame from long format to period format
plot_means

Plot means by sub-groups
plot_inertia_from_tree

Plot inertia, absolute loss and relative loss from a classification tree
plot_multiple_answers

Plot a multiple answers question
mean_sd

Compute means, standard deviations and confidence intervals by sub-groups
unrowwise

Remove row-wise grouping
safe_pal

A safe discrete colour palette
step_with_na

Apply step(), taking into account missing values
plot_proportions

Plot proportions by sub-groups
plot_trajectories

Plot trajectories
proportion

Compute proportions
svyoneway

Test for Equal Means for survey design object
round_preserve_sum

Round values while preserve their rounded sum in R
titanic

Titanic data set in long format
view_dictionary

Display the variable dictionary of a data frame in the RStudio viewer
is_different

Comparison tests considering NA as values to be compared
cut_quartiles

Cut a continuous variable in quartiles
gtsummary_test

Additional tests for gtsummary
gtsummary_themes

Themes for gtsummary
grouped_tbl_pivot_wider

Helpers for grouped tables generated with gtsummary
plot_continuous

Plot a continuous variable by sub-groups
gtsummary_utilities

Utilities for gtsummary
leading_zeros

Add leading zeros
median_iqr

Compute median, quartiles and interquartile range by sub-groups
periods_to_long

Transform a data frame from period format to long format
guideR-package

guideR: Miscellaneous Statistical Functions Used in 'guide-R'
combine_answers

Combine answers of a multiple answers question
install_dependencies

Install / Update project dependencies