Learn R Programming

⚠️There's a newer version (0.17.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,430

Version

0.7.0

License

LGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Michel Lang

Last Published

January 5th, 2021

Functions in mlr3misc (0.7.0)

as_short_string

Convert R Object to a Descriptive String
compat-map

Apply Functions in the spirit of 'purrr'
compose

Composition of Functions
check_packages_installed

Check that packages are installed, without loading them
Dictionary

Key-Value Storage
chunk_vector

Chunk Vectors
crate

Isolate a Function from its Environment
compute_mode

Compute The Mode
cross_join

Cross-Join for data.table
format_bib

Format Bibentries in Roxygen
extract_vars

Extract Variables from a Formula
enframe

Convert a Named Vector Into A data.table
distinct_values

Get Distinct Values
invoke

Invoke a Function Call
encapsulate

Encapsulate Function Calls for Logging
is_scalar_na

Check for a Single Scalar Value
formulate

Create Formulas
register_namespace_callback

Registers a Callback on Namespace load/unLoad Events
keep_in_bounds

Remove All Elements Out Of Bounds
leanify_r6

Move all methods of an R6 Class to an environment
names2

A Type-Stable names() Replacement
require_namespaces

Require Multiple Namespaces
ids

Extract ids from a List of Objects
with_package

Execture code with a modified search path
get_seed

Get the Random Seed
has_element

Check if an Object is Element of a List
%nin%

Negated in-operator
transpose_list

Transpose lists of lists
topo_sort

Topological Sorting of Dependency Graphs
map_values

Replace Elements of Vectors with New Values
rd_info

Helpers to Create Manual Pages
sequence_helpers

Sequence Construction Helpers
load_dataset

Retrieve a Single Data Set
rcbind

Bind Columns by Reference
rowwise_table

Row-Wise Constructor for 'data.table'
set_class

Set the Class
set_names

Set Names
as_factor

Convert to Factor
insert_named

Insert or Remove Named Elements
open_help

Opens a Manual Page
did_you_mean

Suggest Alternatives
dictionary_sugar_get

A Quick Way to Initialize Objects from Dictionaries
shuffle

Safe Version of Sample
named_vector

Create a Named Vector
mlr3misc-package

mlr3misc: Helper Functions for 'mlr3'
modify_if

Selectively Modify Elements of a Vector
named_list

Create a Named List
str_collapse

Collapse Strings
which_min

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

Unnest List Data Table Columns
str_trunc

Truncate Strings
printf

Functions for Formatted Output and Conditions
str_indent

Indent Strings