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.5

License

LGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Michel Lang

Last Published

September 28th, 2019

Functions in mlr3misc (0.1.5)

Dictionary

Key-Value Storage
as_factor

Convert to Factor
did_you_mean

Suggest Alternatives
cross_join

Cross-Join for data.table
compute_mode

Compute The Mode
cite_bib

Cite using a Bibtex File
as_short_string

Convert R Object to a Descriptive String
dictionary_sugar_get

A Quick Way to Initialize Objects from Dictionaries
compat-map

Apply Functions in the spirit of 'purrr'
chunk_vector

Chunk Vectors
has_element

Check if an Object is Element of a List
distinct_values

Get Distinct Values
encapsulate

Encapsulate Function Calls for Logging
ids

Extract ids from a List of Objects
extract_vars

Extract Variables from a Formula
enframe

Convert a Named Vector Into A data.table
invoke

Invoke a Function Call
insert_named

Insert or Remove Named Elements
named_list

Create a Named List
named_vector

Create a Named Vector
load_dataset

Retrieve a Single Data Set
map_values

Replace Elements of Vectors with New Values
%nin%

Negated in-operator
get_seed

Get the Random Seed
formulate

Create Formulas
names2

A Type-Stable names() Replacement
keep_in_bounds

Remove All Elements Out Of Bounds
is_scalar_na

Check for a Single Scalar Value
printf

Functions for Formatted Output and Conditions
require_namespaces

Require Multiple Namespaces
set_names

Set Names
shuffle

Safe Version of Sample
rcbind

Bind Columns by Reference
rowwise_table

Row-Wise Constructor for 'data.table'
str_indent

Indent Strings
str_collapse

Collapse Strings
modify_if

Selectively Modify Elements of a Vector
mlr3misc-package

mlr3misc: Helper Functions for 'mlr3'
which_min

Index of the Minimum/Maximum Value, with ties correction
set_class

Set the Class
topo_sort

Topological Sorting of Dependency Graphs
str_trunc

Truncate Strings
sequence_helpers

Sequence Construction Helpers
transpose_list

Transpose lists of lists
unnest

Unnest List Data Table Columns