Function to convert longZight objects for an Alluvial plot

recode_long_alluvial(.data, response, completecases, ts.args)

# S3 method for longZight
recode_long_alluvial(.data, response, completecases = FALSE, ts.args = TRUE)

Arguments

.data

A longZight object generated by load_long_data

response

The response variable to be plotted as an alluvial

completecases

Logical variable to exclude incomplete cases

ts.args

Logical, control to switch pharsing method for variable options

Value

A longZightAlluv object

Examples

if (FALSE) { mydata %>% load_long_data(IDind, WAVE) %>% refactor_wave %>% recode_long_alluvial(A5E) }