You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe use an "is_tidy_draws" function. Would check for:
.chain, .iteration, and .draw (numeric or NA)
matrix-like format (i.e. nothing gathered into columns yet; so something like every combination of .chain / .iteration / .draw is used on exactly one row)
If the above conditions are met, tidy_draws would return the input data frame (converted to a tibble if necessary).
The text was updated successfully, but these errors were encountered:
mjskay
changed the title
Add support for as_sample_tibble on appropriately-formatted existing data frames
Add support for tidy_draws on appropriately-formatted existing data frames
Aug 10, 2018
Maybe use an "is_tidy_draws" function. Would check for:
.chain
,.iteration
, and.draw
(numeric or NA).chain
/.iteration
/.draw
is used on exactly one row)If the above conditions are met,
tidy_draws
would return the input data frame (converted to a tibble if necessary).The text was updated successfully, but these errors were encountered: