Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for tidy_draws on appropriately-formatted existing data frames #82

Closed
mjskay opened this issue Sep 28, 2017 · 0 comments
Closed

Comments

@mjskay
Copy link
Owner

mjskay commented Sep 28, 2017

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).

@mjskay mjskay self-assigned this Sep 28, 2017
@mjskay 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
@mjskay mjskay removed their assignment Aug 10, 2018
@mjskay mjskay closed this as completed in 14b9f93 Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant