add_class_hierarchy_cache | R Documentation |
Add a class hierarchy to the class hierarchy cache. This is necessary whenever an S3 class's class hierarchy is important when inferring compatibility between types.
add_class_hierarchy_cache(hierarchy)
hierarchy |
|
NULL
Other class hierarchy operations:
register_autoconvert_function()
,
reset_autoconvert_register()
,
reset_class_hierarchy_cache()
# This lets mlr3pipelines handle "data.table" as "data.frame".
# This is an example and not necessary, because mlr3pipelines adds it by default.
add_class_hierarchy_cache(c("data.table", "data.frame"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.