Skip to contents

Provide information whether the object metric is an error or not.

Usage

is_risk_error(x)

Arguments

x

An object

Value

A logical value: if it is not a riskmetric metric it returns NA, but normally TRUE or FALSE.

Examples

is_risk_error(1)
#> [1] NA