Ordered: 'Ordered'

View source: R/variable.R

OrderedR Documentation

Ordered

Description

Converts to an ordered, but retains the label attribute.

Usage

Ordered(x, ...)

Arguments

x

A vector of data, usually taking a small number of distinct values.

...

Further arguments passed to factor.

Details

If the variable is already a factor, nothing is done to it.


Displayr/flipTransformations documentation built on Feb. 26, 2024, 12:47 a.m.