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

Version

0.1.2

License

LGPL-3

Maintainer

Michel Lang

Last Published

August 7th, 2019

Functions in mlr3misc (0.1.2)

encapsulate

Encapsulate Function Calls for Logging
names2

A Type-Stable names() Replacement
extract_vars

Extract Variables from a Formula
enframe

Convert a Named Vector Into A data.table
named_vector

Create a Named Vector
mlr3misc-package

mlr3misc: Helper Functions for 'mlr3'
has_element

Check if an Object is Element of a List
set_class

Set the Class
map_values

Replace Elements of Vectors with New Values
insert_named

Insert or Remove Named Elements
set_names

Set Names
%nin%

Negated in-operator
sequence_helpers

Sequence Construction Helpers
rowwise_table

Row-Wise Constructor for 'data.table'
invoke

Invoke a Function Call
keep_in_bounds

Remove All Elements Out Of Bounds
load_dataset

Retrieve a Single Data Set
is_scalar_na

Check for a Single Scalar Value
named_list

Create a Named List
formulate

Create Formulas
get_seed

Get the Random Seed
modify_if

Selectively Modify Elements of a Vector
printf

Functions for Formatted Output and Conditions
rcbind

Bind Columns by Reference
str_collapse

Collapse Strings
shuffle

Safe Version of Sample
unnest

Unnest List Data Table Columns
topo_sort

Topological Sorting of Dependency Graphs
transpose_list

Transpose lists of lists
require_namespaces

Require Multiple Namespaces
str_trunc

Truncate Strings
str_indent

Indent Strings
which_min

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

Suggest Alternatives
compat-map

Apply Functions in the spirit of 'purrr'
as_factor

Convert to Factor
distinct_values

Get Distinct Values
compute_mode

Compute The Mode
cross_join

Cross-Join for data.table
as_short_string

Convert R Object to a Descriptive String
Dictionary

Key-Value Storage
chunk_vector

Chunk Vectors