Load data into longZight form

load_long_data(.data, id_col = "id", time_col = "time", ts.args = TRUE)

Arguments

.data

A tbl_df or data.frame object storing the data

id_col

Name, or sym object for the individual identifier column

time_col

Name, or sym object for the time/wave column

Value

longZight object with individual identifer and time information encoded

Examples

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