mlr3misc v0.1.6


Monthly downloads



Helper Functions for 'mlr3'

Frequently used helper functions and assertions used in 'mlr3' and its companion packages. Comes with helper functions for functional programming, for printing, to work with 'data.table', as well as some generally useful 'R6' classes. This package also supersedes the package 'BBmisc'.



Miscellaneous helper functions for mlr3.

Travis Build Status CRAN Status Badge Cran Checks codecov StackOverflow

Functions in mlr3misc

Name Description
formulate Create Formulas
keep_in_bounds Remove All Elements Out Of Bounds
topo_sort Topological Sorting of Dependency Graphs
set_names Set Names
str_trunc Truncate Strings
shuffle Safe Version of Sample
extract_vars Extract Variables from a Formula
is_scalar_na Check for a Single Scalar Value
enframe Convert a Named Vector Into A data.table
insert_named Insert or Remove Named Elements
get_seed Get the Random Seed
distinct_values Get Distinct Values
names2 A Type-Stable names() Replacement
rowwise_table Row-Wise Constructor for 'data.table'
map_values Replace Elements of Vectors with New Values
load_dataset Retrieve a Single Data Set
require_namespaces Require Multiple Namespaces
printf Functions for Formatted Output and Conditions
as_factor Convert to Factor
ids Extract ids from a List of Objects
has_element Check if an Object is Element of a List
encapsulate Encapsulate Function Calls for Logging
invoke Invoke a Function Call
rcbind Bind Columns by Reference
modify_if Selectively Modify Elements of a Vector
set_class Set the Class
unnest Unnest List Data Table Columns
sequence_helpers Sequence Construction Helpers
mlr3misc-package mlr3misc: Helper Functions for 'mlr3'
transpose_list Transpose lists of lists
which_min Index of the Minimum/Maximum Value, with ties correction
named_vector Create a Named Vector
named_list Create a Named List
%nin% Negated in-operator
str_collapse Collapse Strings
str_indent Indent Strings
Dictionary Key-Value Storage
chunk_vector Chunk Vectors
as_short_string Convert R Object to a Descriptive String
cross_join Cross-Join for data.table
compute_mode Compute The Mode
dictionary_sugar_get A Quick Way to Initialize Objects from Dictionaries
cite_bib Cite using a Bibtex File
did_you_mean Suggest Alternatives
compat-map Apply Functions in the spirit of 'purrr'
No Results!

Last month downloads


License LGPL-3
Encoding UTF-8
NeedsCompilation yes
RoxygenNote 7.0.2
Packaged 2019-12-12 10:40:03 UTC; michel
Repository CRAN
Date/Publication 2019-12-12 11:10:02 UTC

Include our badge in your README