R/refactor_wave.R
refactor_wave.Rd
Helper function to convert a wave variable into an ordered factor
Helper function to convert a wave variable into an ordered factor for longZight objects.
refactor_wave(.data, subset = NULL) # S3 method for longZight refactor_wave(.data, subset = NULL)
.data | A longZight object generated by |
---|---|
subset | An optional vector of values to retain |
An longZight
object with a modified wave variable.