Closed ashlinrichardson closed 3 years ago
AWESOME, Ash.
I would drown if you were not with me to guide me through the work you have done! So let's set some time aside, and then you can also tell me how to get the tables that I need.....do I have to make each run separately or can you iterate through parameter values (I hope) to produce essentially a 4-dimensional table of values and outputs?
Ernie
On Thu, Sep 10, 2020 at 11:10 AM Ashlin Richardson notifications@github.com wrote:
- code updates to enable basic R interoperability via R's library(V8) javascript interpreter
- fixed-point detect exit-trigger added
- example of running a JS-based Covid19 simulation from R, retrieving agent-based parameters history and plotting (in R) cheers
You can view, comment on, or merge this pull request online at:
https://github.com/ecsendmail/MultiverseContagion/pull/1 Commit Summary
- organize files and make names unix friendly
- add quick start info to README.md
- move JS code into separate file
- skeleton of R interface
- add nonbrowser case; formatting
- add Rcpp based file reader for convenience
- determine number of agents from csv file
- pass number of agents from R/V8 into JS
- force CSV delimiter to Windows fmt, as expected by Ernie's parser
- hide c++ stuff in a folder
- move files
- add some more use_html cases
- add more nongraphics cases
- ready to try running simulation
- simulation iterating: ready to pull out some state info
- Update max_pid.cpp
- update
- run simulation from R, terminate after fixed-state for n iterations, access variables, plot individuals within state from R
- add some documentation
- add v8 intro info
File Changes
- D 2020.08.267MVL1508cM3R12 .html https://github.com/ecsendmail/MultiverseContagion/pull/1/files#diff-56c1bef0e5011112adde910d5cd6f445 (5141)
- M README.md https://github.com/ecsendmail/MultiverseContagion/pull/1/files#diff-04c6e90faac2675aa89e2176d2eec7d8 (19)
- A cpp/file_read.cpp https://github.com/ecsendmail/MultiverseContagion/pull/1/files#diff-951737ad7f0eb864c392a9c8b90ddcb1 (39)
- A cpp/file_size.h https://github.com/ecsendmail/MultiverseContagion/pull/1/files#diff-a5b3be41278a8774c2fb82ec8870e55d (15)
- A cpp/max_pid.cpp https://github.com/ecsendmail/MultiverseContagion/pull/1/files#diff-e2108e7ea6cd37904316babd6877bf92 (34)
- R data/2020.08.23HundredMingl3OneU.csv https://github.com/ecsendmail/MultiverseContagion/pull/1/files#diff-544f932ec44aa0f4178451b7605a09ab (0)
- A data/MVDATAge.csv https://github.com/ecsendmail/MultiverseContagion/pull/1/files#diff-121691cb9e4cbcf0f8fa4cbc91314862 (291)
- A data/VL1.csv https://github.com/ecsendmail/MultiverseContagion/pull/1/files#diff-d4139fcb1a8bb299c3b14f22c38aac3f (6)
- R data/VLone.csv https://github.com/ecsendmail/MultiverseContagion/pull/1/files#diff-f09c294a6967a75dc6be5039274ea168 (0)
- R docs/A_HANDBOOK_FOR_CovidSIMVL_20200820-0043.docx https://github.com/ecsendmail/MultiverseContagion/pull/1/files#diff-d840bf549271f63db1ffdf594323909a (0)
- R docs/bak/links_to_run https://github.com/ecsendmail/MultiverseContagion/pull/1/files#diff-7a412477e68c5fb1492066e71f38350e (0)
- D docs/index.html https://github.com/ecsendmail/MultiverseContagion/pull/1/files#diff-eae600270579316beb8b8d9b9a5732d4 (1)
- A docs/intro_to_v8_for_R.pdf https://github.com/ecsendmail/MultiverseContagion/pull/1/files#diff-aef25e6fe07afe31ab440941416589ce (0)
- A index.html https://github.com/ecsendmail/MultiverseContagion/pull/1/files#diff-eacf331f0ffc35d4b482f1d15a887d3b (1353)
- A run.R https://github.com/ecsendmail/MultiverseContagion/pull/1/files#diff-f5ca5fa7759a6edc0b89a6ec01d2cb81 (48)
- A setup.R https://github.com/ecsendmail/MultiverseContagion/pull/1/files#diff-281afbeabff4b418a989e07acc1802ba (7)
- A setup.sh https://github.com/ecsendmail/MultiverseContagion/pull/1/files#diff-6aa367da3fdfc952b15def7759aa5f0b (16)
- A simulation.js https://github.com/ecsendmail/MultiverseContagion/pull/1/files#diff-e1d45ff0e587c680bcaae789bc28503a (4170)
Patch Links:
- https://github.com/ecsendmail/MultiverseContagion/pull/1.patch
- https://github.com/ecsendmail/MultiverseContagion/pull/1.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ecsendmail/MultiverseContagion/pull/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGAKCVURCDCZYHAFP6MVETSFEEBLANCNFSM4RFPVQJQ .