Package: microsimulation 1.4.9
microsimulation: Discrete Event Simulation in R and C++, with Tools for Cost-Effectiveness Analysis
Discrete event simulation using both R and C++ (Karlsson et al 2016; <doi:10.1109/eScience.2016.7870915>). The C++ code is adapted from the SSIM library <https://www.inf.usi.ch/carzaniga/ssim/>, allowing for event-oriented simulation. The code includes a SummaryReport class for reporting events and costs by age and other covariates. The C++ code is available as a static library for linking to other packages. A priority queue implementation is given in C++ together with an S3 closure and a reference class implementation. Finally, some tools are provided for cost-effectiveness analysis.
Authors:
microsimulation_1.4.9.tar.gz
microsimulation_1.4.9.zip(r-4.7)microsimulation_1.4.9.zip(r-4.6)microsimulation_1.4.9.zip(r-4.5)
microsimulation_1.4.9.tgz(r-4.6-x86_64)microsimulation_1.4.9.tgz(r-4.6-arm64)microsimulation_1.4.9.tgz(r-4.5-x86_64)microsimulation_1.4.9.tgz(r-4.5-arm64)
microsimulation_1.4.9.tar.gz(r-4.7-arm64)microsimulation_1.4.9.tar.gz(r-4.7-x86_64)microsimulation_1.4.9.tar.gz(r-4.6-arm64)microsimulation_1.4.9.tar.gz(r-4.6-x86_64)
microsimulation_1.4.9.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
microsimulation/json (API)
| # Install 'microsimulation' in R: |
| install.packages('microsimulation', repos = c('https://mclements.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mclements/microsimulation/issues
- fhcrcData - Old data used in the prostata model
cppdiscrete-event-simulationhealth-economicsopenblascpp
Last updated from:27211dd994. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 175 | ||
| linux-devel-x86_64 | OK | 178 | ||
| source / vignettes | OK | 193 | ||
| linux-release-arm64 | OK | 187 | ||
| linux-release-x86_64 | OK | 163 | ||
| macos-release-arm64 | OK | 141 | ||
| macos-release-x86_64 | OK | 396 | ||
| macos-oldrel-arm64 | OK | 124 | ||
| macos-oldrel-x86_64 | OK | 419 | ||
| windows-devel | OK | 199 | ||
| windows-release | OK | 200 | ||
| windows-oldrel | OK | 234 | ||
| wasm-release | OK | 147 |
Exports:advance.substreamcallCalibrationPersoncallIllnessDeathcallPersonSimulationcallSimplePersoncallSimplePerson2ceac_mvndiscountedIntervaldiscountedPointdMVKenumenum<-frontierICERinlineCxxPluginLdFlagsmicrosimulation.exitmicrosimulation.initnext.user.Random.substreampMVKpqueuepqueue__cancelpqueue__clearpqueue__emptypqueue__newpqueue__poppqueue__pushqMVKr_create_current_streamr_get_user_random_seedr_next_rng_substreamr_remove_current_streamr_rng_advance_substreamr_set_user_random_seedrMVKRNGstateRNGStreamrnormPosset.user.Random.seedsignedunsigneduser.Random.seed
Dependencies:asciicodetoolsdigestlatticeMatrixRcppRcppArmadillosurvival
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| microsimulation | microsimulation-package microsimulation |
| Internal function | .microsimulationLdFlags .onLoad .onUnload advance.substream ceac_mvn discountedPoint enum enum<- frontier ICER inlineCxxPlugin LdFlags lines_frontier microsimulation.exit microsimulation.init next.user.Random.substream RNGstate rnormPos set.user.Random.seed signed unsigned user.Random.seed |
| call CalibrationPerson example | callCalibrationPerson callIllnessDeath callPersonSimulation callSimplePerson callSimplePerson2 |
| Integrate a discounted value | discountedInterval |
| Probability density function for an MVK distribution | dMVK pMVK qMVK rMVK rMVK2 |
| Old data used in the prostata model | fhcrcData |
| S3 priority queue implementation using C++ | BaseDiscreteEventSimulation BaseDiscreteEventSimulation-class EventQueue EventQueue-class pqueue PQueueRef PQueueRef-class |
| C++ function | callCalibrationSimulation pqueue__cancel pqueue__clear pqueue__empty pqueue__new pqueue__pop pqueue__push r_create_current_stream r_get_user_random_seed r_next_rng_substream r_remove_current_stream r_rng_advance_substream r_set_user_random_seed |
| S3 class to work with RngStream objects | RNGStream RNGStream-class with.RNGStream |
| Simulate event times from a survreg object | simulate.survreg |
| summary method for a SummaryReport object | ascii.ICER.SummaryReport ascii.SummaryReport ICER.SummaryReport print.summary.SummaryReport print.SummaryReport rbind.SummaryReport summary.SummaryReport |
