All functions

Dictionary

Key-Value Storage

as_factor()

Convert to Factor

as_short_string()

Convert R Object to a Descriptive String

check_packages_installed()

Check that packages are installed, without loading them

chunk_vector() chunk()

Chunk Vectors

map() map_lgl() map_int() map_dbl() map_chr() map_dtr() map_dtc() pmap() pmap_lgl() pmap_int() pmap_dbl() pmap_chr() pmap_dtr() pmap_dtc() imap() imap_lgl() imap_int() imap_dbl() imap_chr() imap_dtr() imap_dtc() keep() discard() map_if() map_at() every() some() detect()

Apply Functions in the spirit of 'purrr'

compose()

Composition of Functions

compute_mode()

Compute The Mode

count_missing()

Count Missing Values in a Vector Same as sum(is.na(x)), but without the allocation.

crate()

Isolate a Function from its Environment

cross_join()

Cross-Join for data.table

dictionary_sugar_get() dictionary_sugar() dictionary_sugar_mget()

A Quick Way to Initialize Objects from Dictionaries

did_you_mean()

Suggest Alternatives

distinct_values()

Get Distinct Values

encapsulate()

Encapsulate Function Calls for Logging

enframe()

Convert a Named Vector Into A data.table

extract_vars()

Extract Variables from a Formula

format_bib() cite_bib()

Format Bibentries in Roxygen

formulate()

Create Formulas

get_seed()

Get the Random Seed

has_element()

Check if an Object is Element of a List

ids()

Extract ids from a List of Objects

insert_named() remove_named()

Insert or Remove Named Elements

invoke()

Invoke a Function Call

is_scalar_na()

Check for a Single Scalar Value

keep_in_bounds()

Remove All Elements Out Of Bounds

leanify_r6() leanify_package()

Move all methods of an R6 Class to an environment

load_dataset()

Retrieve a Single Data Set

map_values()

Replace Elements of Vectors with New Values

mlr3misc-package

mlr3misc: Helper Functions for 'mlr3'

modify_if() modify_at()

Selectively Modify Elements of a Vector

named_list()

Create a Named List

named_vector()

Create a Named Vector

names2()

A Type-Stable names() Replacement

`%nin%`

Negated in-operator

open_help()

Opens a Manual Page

catf() messagef() warningf() stopf()

Functions for Formatted Output and Conditions

rcbind()

Bind Columns by Reference

rd_info() rd_format_range() rd_format_string() rd_format_packages()

Helpers to Create Manual Pages

register_namespace_callback()

Registers a Callback on Namespace load/unLoad Events

reorder_vector()

Reorder Vector According to Second Vector

require_namespaces()

Require Multiple Namespaces

rowwise_table()

Row-Wise Constructor for 'data.table'

seq_row() seq_col() seq_len0() seq_along0()

Sequence Construction Helpers

set_class()

Set the Class

set_names() set_col_names()

Set Names

shuffle()

Safe Version of Sample

str_collapse()

Collapse Strings

str_indent()

Indent Strings

str_trunc()

Truncate Strings

topo_sort()

Topological Sorting of Dependency Graphs

transpose_list()

Transpose lists of lists

unnest()

Unnest List Data Table Columns

which_min() which_max()

Index of the Minimum/Maximum Value, with ties correction

with_package()

Execture code with a modified search path