Learn R Programming

interfacer (version 0.3.3)

type.factor: Coerce to a factor.

Description

Coerce to a factor.

Usage

type.factor(x)

Value

the input as a factor, error if this would involve data loss.

Arguments

x

any vector