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.3.0

License

LGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Michel Lang

Last Published

June 3rd, 2020

Functions in mlr3misc (0.3.0)

check_packages_installed

Check that packages are installed, without loading them
as_short_string

Convert R Object to a Descriptive String
Dictionary

Key-Value Storage
dictionary_sugar_get

A Quick Way to Initialize Objects from Dictionaries
as_factor

Convert to Factor
cross_join

Cross-Join for data.table
compute_mode

Compute The Mode
chunk_vector

Chunk Vectors
compat-map

Apply Functions in the spirit of 'purrr'
extract_vars

Extract Variables from a Formula
encapsulate

Encapsulate Function Calls for Logging
load_dataset

Retrieve a Single Data Set
which_min

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

Convert a Named Vector Into A data.table
with_package

Execture code with a modified search path
keep_in_bounds

Remove All Elements Out Of Bounds
invoke

Invoke a Function Call
cite_bib

Cite using a Bibtex File
ids

Extract ids from a List of Objects
insert_named

Insert or Remove Named Elements
formulate

Create Formulas
named_list

Create a Named List
modify_if

Selectively Modify Elements of a Vector
mlr3misc-package

mlr3misc: Helper Functions for 'mlr3'
has_element

Check if an Object is Element of a List
did_you_mean

Suggest Alternatives
get_seed

Get the Random Seed
named_vector

Create a Named Vector
map_values

Replace Elements of Vectors with New Values
distinct_values

Get Distinct Values
is_scalar_na

Check for a Single Scalar Value
printf

Functions for Formatted Output and Conditions
rcbind

Bind Columns by Reference
transpose_list

Transpose lists of lists
set_names

Set Names
unnest

Unnest List Data Table Columns
rowwise_table

Row-Wise Constructor for 'data.table'
require_namespaces

Require Multiple Namespaces
str_trunc

Truncate Strings
shuffle

Safe Version of Sample
topo_sort

Topological Sorting of Dependency Graphs
names2

A Type-Stable names() Replacement
set_class

Set the Class
sequence_helpers

Sequence Construction Helpers
str_collapse

Collapse Strings
%nin%

Negated in-operator
open_help

Opens a Manual Page
str_indent

Indent Strings