Factor: Factor Constructor

Description Usage Arguments Value Examples

View source: R/factor.R

Description

Factor(name) is a constructor to Factor S4 objects. Factor S4 class contains a single slot with the factor name.

Usage

1

Arguments

name

character the factor namecharacter (any other argument will be cast to character)

Value

a Factor S4 object

Examples

1
2
factor <- Factor("name")
Factor("name")

ptaranti/coppeCosenzaR documentation built on March 25, 2020, 11:35 a.m.