Learn R Programming

⚠️There's a newer version (0.17.0) of this package.Take me there.

mlr3misc

Miscellaneous helper functions for mlr3.

Copy Link

Version

Install

install.packages('mlr3misc')

Monthly Downloads

8,821

Version

0.1.1

License

LGPL-3

Maintainer

Michel Lang

Last Published

July 23rd, 2019

Functions in mlr3misc (0.1.1)

extract_vars

Extract Variables from a Formula
insert_named

Insert or Remove Named Elements
require_namespaces

Require Multiple Namespaces
invoke

Invoke a Function Call
did_you_mean

Suggest Alternatives
rowwise_table

Row-Wise Constructor for 'data.table'
map_values

Replace Elements of Vectors with New Values
set_class

Set the Class
sequence_helpers

Sequence Construction Helpers
mlr3misc-package

mlr3misc: Helper Functions for 'mlr3'
transpose_list

Transpose lists of lists
names2

A Type-Stable names() Replacement
formulate

Create Formulas
which_min

Index of the Minimum/Maximum Value, with ties correction
%nin%

Negated in-operator
unnest

Unnest List Data Table Columns
shuffle

Safe Version of Sample
load_dataset

Retrieve a Single Data Set
is_scalar_na

Check for a Single Scalar Value
set_names

Set Names
rcbind

Bind Columns by Reference
printf

Functions for Formatted Output and Conditions
str_trunc

Truncate Strings
get_seed

Get the Random Seed
topo_sort

Topological Sorting of Dependency Graphs
has_element

Check if an Object is Element of a List
named_list

Create a Named List
modify_if

Selectively Modify Elements of a Vector
str_collapse

Collapse Strings
str_indent

Indent Strings
enframe

Convert a Named Vector Into A data.table
compute_mode

Compute The Mode
chunk_vector

Chunk Vectors
as_factor

Convert to Factor
compat-map

Apply Functions in the spirit of 'purrr'
Dictionary

Key-Value Storage
encapsulate

Encapsulate Function Calls for Logging
cross_join

Cross-Join for data.table
as_short_string

Convert R Object to a Descriptive String