Learn R Programming

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

mlr3misc

Miscellaneous helper functions for mlr3.

Copy Link

Version

Install

install.packages('mlr3misc')

Monthly Downloads

9,017

Version

0.1.6

License

LGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Michel Lang

Last Published

December 12th, 2019

Functions in mlr3misc (0.1.6)

formulate

Create Formulas
keep_in_bounds

Remove All Elements Out Of Bounds
topo_sort

Topological Sorting of Dependency Graphs
set_names

Set Names
str_trunc

Truncate Strings
shuffle

Safe Version of Sample
extract_vars

Extract Variables from a Formula
is_scalar_na

Check for a Single Scalar Value
enframe

Convert a Named Vector Into A data.table
insert_named

Insert or Remove Named Elements
get_seed

Get the Random Seed
distinct_values

Get Distinct Values
names2

A Type-Stable names() Replacement
rowwise_table

Row-Wise Constructor for 'data.table'
map_values

Replace Elements of Vectors with New Values
load_dataset

Retrieve a Single Data Set
require_namespaces

Require Multiple Namespaces
printf

Functions for Formatted Output and Conditions
as_factor

Convert to Factor
ids

Extract ids from a List of Objects
has_element

Check if an Object is Element of a List
encapsulate

Encapsulate Function Calls for Logging
invoke

Invoke a Function Call
rcbind

Bind Columns by Reference
modify_if

Selectively Modify Elements of a Vector
set_class

Set the Class
unnest

Unnest List Data Table Columns
sequence_helpers

Sequence Construction Helpers
mlr3misc-package

mlr3misc: Helper Functions for 'mlr3'
transpose_list

Transpose lists of lists
which_min

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

Create a Named Vector
named_list

Create a Named List
%nin%

Negated in-operator
str_collapse

Collapse Strings
str_indent

Indent Strings
Dictionary

Key-Value Storage
chunk_vector

Chunk Vectors
as_short_string

Convert R Object to a Descriptive String
cross_join

Cross-Join for data.table
compute_mode

Compute The Mode
dictionary_sugar_get

A Quick Way to Initialize Objects from Dictionaries
cite_bib

Cite using a Bibtex File
did_you_mean

Suggest Alternatives
compat-map

Apply Functions in the spirit of 'purrr'