Learn R Programming

⚠️There's a newer version (0.17.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

11,681

Version

0.5.0

License

LGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Michel Lang

Last Published

August 13th, 2020

Functions in mlr3misc (0.5.0)

cross_join

Cross-Join for data.table
check_packages_installed

Check that packages are installed, without loading them
as_factor

Convert to Factor
compute_mode

Compute The Mode
as_short_string

Convert R Object to a Descriptive String
Dictionary

Key-Value Storage
cite_bib

Cite using a Bibtex File
chunk_vector

Chunk Vectors
enframe

Convert a Named Vector Into A data.table
compat-map

Apply Functions in the spirit of 'purrr'
map_values

Replace Elements of Vectors with New Values
formulate

Create Formulas
get_seed

Get the Random Seed
dictionary_sugar_get

A Quick Way to Initialize Objects from Dictionaries
insert_named

Insert or Remove Named Elements
extract_vars

Extract Variables from a Formula
require_namespaces

Require Multiple Namespaces
did_you_mean

Suggest Alternatives
str_indent

Indent Strings
rd_info

Helpers to Create Manual Pages
named_vector

Create a Named Vector
mlr3misc-package

mlr3misc: Helper Functions for 'mlr3'
names2

A Type-Stable names() Replacement
invoke

Invoke a Function Call
compose

Composition of Functions
has_element

Check if an Object is Element of a List
str_trunc

Truncate Strings
str_collapse

Collapse Strings
shuffle

Safe Version of Sample
distinct_values

Get Distinct Values
printf

Functions for Formatted Output and Conditions
modify_if

Selectively Modify Elements of a Vector
named_list

Create a Named List
encapsulate

Encapsulate Function Calls for Logging
rcbind

Bind Columns by Reference
ids

Extract ids from a List of Objects
leanify_r6

Move all methods of an R6 Class to an environment
set_class

Set the Class
set_names

Set Names
is_scalar_na

Check for a Single Scalar Value
keep_in_bounds

Remove All Elements Out Of Bounds
which_min

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

Unnest List Data Table Columns
rowwise_table

Row-Wise Constructor for 'data.table'
sequence_helpers

Sequence Construction Helpers
with_package

Execture code with a modified search path
%nin%

Negated in-operator
open_help

Opens a Manual Page
load_dataset

Retrieve a Single Data Set
topo_sort

Topological Sorting of Dependency Graphs
transpose_list

Transpose lists of lists