View source: R/metric_domains.R
metric_domains | R Documentation |
‘r lifecycle::badge(’experimental')'
Returns numeric ranges [min, max] for the metrics 'support', 'confidence', and 'lift' from various input types.
metric_domains(x, ...)
## S3 method for class 'parsed'
metric_domains(x, ...)
## S3 method for class 'data.frame'
metric_domains(x, ...)
## Default S3 method:
metric_domains(x, ...)
x |
An object containing rule metrics. Methods are provided for objects of class 'parsed', and for a 'data.frame'. (Optionally also for class 'niarules_edges' if you tag it.) |
... |
Passed to methods (currently unused). |
A named list with numeric vectors of length 2: 'list(support = c(min, max), confidence = c(min, max), lift = c(min, max))'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.