givenOrder: Create ordered factor with order inferred from order given

Description Usage Arguments Examples

Description

The order of the resulting factor is determined by the order in which unique labels first appear in the vector or factor x.

Usage

1

Arguments

x

a vector or factor to be converted into an ordered factor.

Examples

1
givenOrder(c("First", "Second", "Third", "Fourth", "Fifth", "Sixth"))

fastR documentation built on May 1, 2019, 11:18 p.m.