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

9,017

Version

0.8.0

License

LGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Michel Lang

Last Published

March 19th, 2021

Functions in mlr3misc (0.8.0)

compose

Composition of Functions
crate

Isolate a Function from its Environment
chunk_vector

Chunk Vectors
as_short_string

Convert R Object to a Descriptive String
Dictionary

Key-Value Storage
cross_join

Cross-Join for data.table
compute_mode

Compute The Mode
check_packages_installed

Check that packages are installed, without loading them
compat-map

Apply Functions in the spirit of 'purrr'
format_bib

Format Bibentries in Roxygen
as_factor

Convert to Factor
has_element

Check if an Object is Element of a List
get_seed

Get the Random Seed
encapsulate

Encapsulate Function Calls for Logging
distinct_values

Get Distinct Values
formulate

Create Formulas
modify_if

Selectively Modify Elements of a Vector
mlr3misc-package

mlr3misc: Helper Functions for 'mlr3'
open_help

Opens a Manual Page
printf

Functions for Formatted Output and Conditions
load_dataset

Retrieve a Single Data Set
map_values

Replace Elements of Vectors with New Values
%nin%

Negated in-operator
names2

A Type-Stable names() Replacement
enframe

Convert a Named Vector Into A data.table
keep_in_bounds

Remove All Elements Out Of Bounds
leanify_r6

Move all methods of an R6 Class to an environment
require_namespaces

Require Multiple Namespaces
register_namespace_callback

Registers a Callback on Namespace load/unLoad Events
str_collapse

Collapse Strings
rowwise_table

Row-Wise Constructor for 'data.table'
dictionary_sugar_get

A Quick Way to Initialize Objects from Dictionaries
did_you_mean

Suggest Alternatives
ids

Extract ids from a List of Objects
invoke

Invoke a Function Call
rcbind

Bind Columns by Reference
sequence_helpers

Sequence Construction Helpers
extract_vars

Extract Variables from a Formula
is_scalar_na

Check for a Single Scalar Value
named_list

Create a Named List
named_vector

Create a Named Vector
set_class

Set the Class
rd_info

Helpers to Create Manual Pages
str_indent

Indent Strings
which_min

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

Reorder Vector According to Second Vector
topo_sort

Topological Sorting of Dependency Graphs
str_trunc

Truncate Strings
insert_named

Insert or Remove Named Elements
shuffle

Safe Version of Sample
unnest

Unnest List Data Table Columns
set_names

Set Names
transpose_list

Transpose lists of lists
with_package

Execture code with a modified search path