Reference
Quick-lookup documentation for R base functions, tidyverse helpers, statistics tools, and data structures.
Base Functions
Core R functions available in base R.
abs() apply() c() cat() ceiling() class() colnames() cos() cummax() cummin() cumprod() cumsum() diff() dim() duplicated() exp() expm1() floor() head() ifelse() intersect() is.na() is.nan() is.null() is.numeric() lapply() length() log() log10() log1p() log2() match() max() mean() min() ncol() nrow() on.exit order() paste() paste0() print() range() readline() rep() rm() round() rownames() sample() sapply() sd() seq() setdiff() sin() sort() sprintf() sqrt() substr() sum() Sys.sleep system2 table() tan() tapply() trunc() union() unique() var() which.max / which.min() which() withCallingHandlers()
Data Types
Vectors, factors, data frames, tibbles, and other structures.
String Functions
String handling and regex helpers.
Tidyverse
Common dplyr, purrr, and tibble workflows.
dplyr::*_join() dplyr::across() dplyr::arrange dplyr::arrange() dplyr::bind_cols dplyr::bind_rows() / dplyr::bind_cols() dplyr::case_when dplyr::count() dplyr::distinct dplyr::filter() dplyr::filter() dplyr::group_by dplyr::group_by() dplyr::if_else dplyr::mutate dplyr::mutate() dplyr::pull dplyr::relocate dplyr::rename dplyr::rename() / dplyr::relocate() dplyr::select dplyr::select() dplyr::slice() dplyr::summarise() lubridate::ymd purrr::keep() / purrr::discard() / purrr::compact() purrr::map purrr::map() purrr::map2 purrr::pmap purrr::reduce purrr::reduce purrr::safely() / purrr::possibly() / purrr::quietly() purrr::walk purrr::walk() readr::write_csv() stringr::str_c() stringr::str_detect() stringr::str_extract() stringr::str_length() stringr::str_pad() stringr::str_replace() stringr::str_trim() tidyr::complete() tidyr::drop_na() tidyr::fill tidyr::nest() tidyr::pivot_longer() tidyr::pivot_longer() / tidyr::pivot_wider() tidyr::pivot_wider() tidyr::unnest()