Package: microsimulation 1.4.4
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.4.tar.gz
microsimulation_1.4.4.zip(r-4.5)microsimulation_1.4.4.zip(r-4.4)microsimulation_1.4.4.zip(r-4.3)
microsimulation_1.4.4.tgz(r-4.4-x86_64)microsimulation_1.4.4.tgz(r-4.4-arm64)microsimulation_1.4.4.tgz(r-4.3-x86_64)microsimulation_1.4.4.tgz(r-4.3-arm64)
microsimulation_1.4.4.tar.gz(r-4.5-noble)microsimulation_1.4.4.tar.gz(r-4.4-noble)
microsimulation_1.4.4.tgz(r-4.4-emscripten)microsimulation_1.4.4.tgz(r-4.3-emscripten)
microsimulation.pdf |microsimulation.html✨
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-economics
Last updated 3 months agofrom:fd767bb3aa. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 18 2024 |
R-4.5-win-x86_64 | OK | Nov 18 2024 |
R-4.5-linux-x86_64 | OK | Nov 18 2024 |
R-4.4-win-x86_64 | OK | Nov 18 2024 |
R-4.4-mac-x86_64 | OK | Nov 18 2024 |
R-4.4-mac-aarch64 | OK | Nov 18 2024 |
R-4.3-win-x86_64 | OK | Nov 18 2024 |
R-4.3-mac-x86_64 | OK | Nov 18 2024 |
R-4.3-mac-aarch64 | OK | Nov 18 2024 |
Exports:advance.substreamcallCalibrationPersoncallIllnessDeathcallPersonSimulationcallSimplePersoncallSimplePerson2discountedIntervaldiscountedPointenumenum<-frontierICERinlineCxxPluginLdFlagsmicrosimulation.exitmicrosimulation.initnext.user.Random.substreampqueuepqueue__cancelpqueue__clearpqueue__emptypqueue__newpqueue__poppqueue__pushr_create_current_streamr_get_user_random_seedr_next_rng_substreamr_remove_current_streamr_rng_advance_substreamr_set_user_random_seedRNGstateRNGStreamrnormPosset.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 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 |
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 |