defineInternalMetric: Define an internal metric for lcModels

Description Usage Arguments See Also

View source: R/metrics.R

Description

Define an internal metric for lcModels

Usage

1
defineInternalMetric(name, fun, warnIfExists = TRUE)

Arguments

name

The name of the metric.

fun

The function to compute the metric, accepting a lcModel object as input.

warnIfExists

Whether to output a warning when the new metric is already defined.

See Also

Other metric functions: defineExternalMetric(), externalMetric,lcModel,lcModel-method, getExternalMetricDefinition(), getExternalMetricNames(), getInternalMetricDefinition(), getInternalMetricNames(), metric()


latrend documentation built on April 14, 2021, 5:08 p.m.