18 lines
470 B
R
18 lines
470 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/types.R
|
|
\name{ts_factor}
|
|
\alias{ts_factor}
|
|
\title{Typed factor}
|
|
\usage{
|
|
ts_factor(levels = NULL)
|
|
}
|
|
\arguments{
|
|
\item{levels}{A character vector of levels (optional).}
|
|
}
|
|
\value{
|
|
A ts object that accepts factors with the specified levels.
|
|
}
|
|
\description{
|
|
Factors are integers with labels. On the JS side, these are \emph{always} represented as a string array (even if only one value - yay!).
|
|
}
|