Alias to as_defol()
Arguments
- x
A data frame or list-like object to cast. Must have named elements for "year", "series", "gsi", "ngsi", and "defol_status".
Examples
data(dmj_defol)
example_data <- as.data.frame(dmj_defol)
is.defol(example_data)
#> [1] FALSE
back_to_defol <- as_defol(example_data)
is.defol(back_to_defol)
#> [1] TRUE