Learn R Programming

Epi (version 1.1.20)

transform.Lexis: Transform a Lexis objects

Description

Transform a Lexis object

Usage

## S3 method for class 'Lexis':
transform(`_data`, \dots)
## S3 method for class 'Lexis':
factorize(obj, \dots)

Arguments

_data
an object of class Lexis.
obj
an object of class Lexis.
...
additional arguments to be passed to transform.data.frame.

Value

  • A transformed Lexis object.

Details

The transform method for Lexis objects works exactly as the method for data frames. factorize simply transforms the variables lex.Cst and lex.Xst to factors with the same set of levels.

See Also

Lexis, merge.Lexis, subset.Lexis