Learn R Programming

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

mlr3misc

Package website: release | dev

Miscellaneous helper functions for mlr3.

Copy Link

Version

Install

install.packages('mlr3misc')

Monthly Downloads

8,821

Version

0.4.0

License

LGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Michel Lang

Last Published

July 17th, 2020

Functions in mlr3misc (0.4.0)

Dictionary

Key-Value Storage
compat-map

Apply Functions in the spirit of 'purrr'
as_short_string

Convert R Object to a Descriptive String
cross_join

Cross-Join for data.table
cite_bib

Cite using a Bibtex File
chunk_vector

Chunk Vectors
dictionary_sugar_get

A Quick Way to Initialize Objects from Dictionaries
as_factor

Convert to Factor
check_packages_installed

Check that packages are installed, without loading them
encapsulate

Encapsulate Function Calls for Logging
get_seed

Get the Random Seed
distinct_values

Get Distinct Values
did_you_mean

Suggest Alternatives
invoke

Invoke a Function Call
%nin%

Negated in-operator
shuffle

Safe Version of Sample
is_scalar_na

Check for a Single Scalar Value
ids

Extract ids from a List of Objects
open_help

Opens a Manual Page
str_collapse

Collapse Strings
compute_mode

Compute The Mode
modify_if

Selectively Modify Elements of a Vector
has_element

Check if an Object is Element of a List
named_list

Create a Named List
insert_named

Insert or Remove Named Elements
printf

Functions for Formatted Output and Conditions
mlr3misc-package

mlr3misc: Helper Functions for 'mlr3'
rcbind

Bind Columns by Reference
map_values

Replace Elements of Vectors with New Values
unnest

Unnest List Data Table Columns
extract_vars

Extract Variables from a Formula
with_package

Execture code with a modified search path
set_class

Set the Class
set_names

Set Names
enframe

Convert a Named Vector Into A data.table
which_min

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

Indent Strings
rowwise_table

Row-Wise Constructor for 'data.table'
keep_in_bounds

Remove All Elements Out Of Bounds
formulate

Create Formulas
load_dataset

Retrieve a Single Data Set
named_vector

Create a Named Vector
sequence_helpers

Sequence Construction Helpers
str_trunc

Truncate Strings
names2

A Type-Stable names() Replacement
rd_info

Helpers to Create Manual Pages
require_namespaces

Require Multiple Namespaces
transpose_list

Transpose lists of lists
topo_sort

Topological Sorting of Dependency Graphs