fct

Create factors in first-seen order

Creates a factor whose levels follow the first appearance order of the input values.