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

8,821

Version

0.1.3

License

LGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Michel Lang

Last Published

August 22nd, 2019

Functions in mlr3misc (0.1.3)

insert_named

Insert or Remove Named Elements
str_collapse

Collapse Strings
named_list

Create a Named List
str_indent

Indent Strings
named_vector

Create a Named Vector
compute_mode

Compute The Mode
%nin%

Negated in-operator
names2

A Type-Stable names() Replacement
extract_vars

Extract Variables from a Formula
formulate

Create Formulas
encapsulate

Encapsulate Function Calls for Logging
get_seed

Get the Random Seed
is_scalar_na

Check for a Single Scalar Value
enframe

Convert a Named Vector Into A data.table
load_dataset

Retrieve a Single Data Set
require_namespaces

Require Multiple Namespaces
map_values

Replace Elements of Vectors with New Values
keep_in_bounds

Remove All Elements Out Of Bounds
rowwise_table

Row-Wise Constructor for 'data.table'
unnest

Unnest List Data Table Columns
transpose_list

Transpose lists of lists
invoke

Invoke a Function Call
set_names

Set Names
str_trunc

Truncate Strings
printf

Functions for Formatted Output and Conditions
sequence_helpers

Sequence Construction Helpers
rcbind

Bind Columns by Reference
has_element

Check if an Object is Element of a List
set_class

Set the Class
mlr3misc-package

mlr3misc: Helper Functions for 'mlr3'
modify_if

Selectively Modify Elements of a Vector
shuffle

Safe Version of Sample
which_min

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

Topological Sorting of Dependency Graphs
compat-map

Apply Functions in the spirit of 'purrr'
did_you_mean

Suggest Alternatives
cross_join

Cross-Join for data.table
as_factor

Convert to Factor
distinct_values

Get Distinct Values
dictionary_sugar

A Quick Way to Initialize Objects from Dictionaries
as_short_string

Convert R Object to a Descriptive String
Dictionary

Key-Value Storage
chunk_vector

Chunk Vectors