Skip to contents

Factors are integers with labels. On the JS side, these are always represented as a string array (even if only one value - yay!).

Usage

ts_factor(levels = NULL)

Arguments

levels

A character vector of levels (optional).

Value

A ts object that accepts factors with the specified levels.