new_cluster_metric | R Documentation |
These functions provide convenient wrappers to create the one
type of metric functions in celrry: clustering metrics. They add a
metric-specific class to fn
. These features are used by
cluster_metric_set()
and by tune_cluster()
when tuning.
new_cluster_metric(fn, direction)
fn |
A function. |
direction |
A string. One of:
|
A cluster_metric
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.