powered by
Given a tabulated dataset, this will untabulate it by repeating each row by the number of times it was repeated.
untable(data, counts)
A data.frame to untable.
A column containing counts.
# NOT RUN { # untable(data = tibble::as_data_frame(datasets::Titanic), counts = n) # }
Run the code above in your browser using DataLab