-
Notifications
You must be signed in to change notification settings - Fork 0
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
Improve documentation #181
Conversation
* Add self-contained, executable example usage in readme * Addresses #174
* Simplify/revise description of simChef concepts and parts of experiment * Add run experiment figure * Add concrete examples of DGP/methods/evals/viz using example usage * Addresses #174
* add link to real world case study in readme * add links to example html outputs for toy sims from simChef vignettes * addresses #174
* address #174
* add examples (#174) * create wrappers for DGP$generate, Method$fit, Evaluator$evaluate, and Visualizer$visualize methods * fix bug in add_na_counts
* move text to collapsible blocks * bold simChef highlights in "thinking like a chef" to address #174
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to need to finish the rest of the review later. In the meantime, please lmk what you think of the DGP
docs screenshot.
Co-authored-by: James Duncan <jpdunc23@users.noreply.github.com>
@tiffanymtang when you can, please review the updates I've made. In particular, could you spot check the docs for the Still need to document |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
* improve visualizer example usage * change T to TRUE in example usage to avoid R CMD CHECK error * change varying parameter to varying parameter(s)
Use of `future::plan("multisession", workers=10)` in the Evaluator and Visualizer docs examples is likely causing issues in the check-r-package job.
Hey @tiffanymtang , could you please do another spot check of the latest changes? Unless you see any issues I think we can merge this in soon. |
This pull request addresses #174. Overview of changes:
Added runnable example usage in readme.
Added diagram of
run_experiment()
to the "Grammar of a simChef Simulation Experiment" section to aid understanding.Restructured "Origins of simChef" section to de-emphasize this content, as it is not critical to understanding how to use
simChef
. Also added bolding to the "Thinking like a chef" subsection to highlightsimChef
functionalities that was previously tangled in cooking analogy.Added reference to real world use case of
simChef
in Boileau et al. at the end of the toy example usage.Finished adding examples to all
simChef
functions.Added contributing guidelines in CONTRIBUTING.md.