ts_status_to_integer: Status to Integer

View source: R/utils.R

ts_status_to_integerR Documentation

Status to Integer

Description

Converts an ordered factor of status values to an integer vector.

Usage

ts_status_to_integer(x)

Arguments

x

An ordered factor of status values.

Value

An integer vector.

Examples

ts_status_to_integer(ordered(
  "questionable",
  c("reasonable", "questionable", "erroneous")
))

poissonconsulting/tsdbr documentation built on April 13, 2025, 6:42 p.m.