pkg_metric_eval {riskmetric} | R Documentation |
Evaluate a metric
Description
Evalute code relevant to a metric, capturing the evaluated code as well as any messages, warnings or errors that are thrown in the process.
Usage
pkg_metric_eval(expr, ..., class = c(), env = parent.frame())
Arguments
expr |
An expression to evaluate in order to calculate a
|
... |
additional attributes to bind to the |
class |
a subclass to differentiate the |
env |
An environment in which |
Value
a pkg_metric
object containing the result of expr
[Package riskmetric version 0.2.5 Index]