# NOT RUN {
data(dummy_rows_example)
# Makes dummy rows using default column selection and year
# to make categories
example <- dummy_rows(dummy_rows_example, year = TRUE)
# Same as above but adds binary column indicating if the row
# is dummy or not
example <- dummy_rows(dummy_rows_example, year = TRUE, dummy_indicator = TRUE)
# }
Run the code above in your browser using DataLab