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,532

Version

0.2.0

License

LGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Michel Lang

Last Published

April 15th, 2020

Functions in mlr3misc (0.2.0)

extract_vars

Extract Variables from a Formula
formulate

Create Formulas
load_dataset

Retrieve a Single Data Set
require_namespaces

Require Multiple Namespaces
rowwise_table

Row-Wise Constructor for 'data.table'
keep_in_bounds

Remove All Elements Out Of Bounds
unnest

Unnest List Data Table Columns
transpose_list

Transpose lists of lists
has_element

Check if an Object is Element of a List
get_seed

Get the Random Seed
invoke

Invoke a Function Call
as_factor

Convert to Factor
map_values

Replace Elements of Vectors with New Values
is_scalar_na

Check for a Single Scalar Value
did_you_mean

Suggest Alternatives
distinct_values

Get Distinct Values
mlr3misc-package

mlr3misc: Helper Functions for 'mlr3'
set_names

Set Names
encapsulate

Encapsulate Function Calls for Logging
shuffle

Safe Version of Sample
str_collapse

Collapse Strings
enframe

Convert a Named Vector Into A data.table
modify_if

Selectively Modify Elements of a Vector
ids

Extract ids from a List of Objects
str_indent

Indent Strings
which_min

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

Functions for Formatted Output and Conditions
rcbind

Bind Columns by Reference
named_list

Create a Named List
insert_named

Insert or Remove Named Elements
named_vector

Create a Named Vector
names2

A Type-Stable names() Replacement
with_package

Execture code with a modified search path
open_help

Opens a Manual Page
str_trunc

Truncate Strings
%nin%

Negated in-operator
topo_sort

Topological Sorting of Dependency Graphs
sequence_helpers

Sequence Construction Helpers
set_class

Set the Class
Dictionary

Key-Value Storage
cross_join

Cross-Join for data.table
dictionary_sugar_get

A Quick Way to Initialize Objects from Dictionaries
compute_mode

Compute The Mode
compat-map

Apply Functions in the spirit of 'purrr'
cite_bib

Cite using a Bibtex File
chunk_vector

Chunk Vectors
as_short_string

Convert R Object to a Descriptive String
check_packages_installed

Check that packages are installed, without loading them