Learn R Programming

mlr3misc (version 0.15.0)

calculate_hash: Calculate a Hash for Multiple Objects

Description

Calls digest::digest() using the 'xxhash64' algorithm after applying hash_input to each object. To customize the hashing behaviour, you can overwrite hash_input for specific classes. For data.table objects, hash_input is applied to all columns, so you can overwrite hash_input for columns of a specific class. Objects that don't have a specific method are hashed as is.

Usage

calculate_hash(...)

Value

(character(1)).

Arguments

...

(any)
Objects to hash.

Examples

Run this code
calculate_hash(iris, 1, "a")

Run the code above in your browser using DataLab