Building on top of the 'RcppArmadillo' linear algebra functionalities to do fast spatial interaction models in the context of urban analytics, geography, transport modelling. It uses the Newton root search algorithm to determine the optimal cost exponent and can run country level models with thousands of origins and destinations. It aims at implementing an easy approach based on matrices, that can originate from various routing and processing steps earlier in an workflow. Currently, the simplest form of production, destination and doubly constrained models are implemented. Schlosser et al. (2023) <doi:10.48550/arXiv.2309.02112>.
| Version: | 0.2 |
| Depends: | R (≥ 3.6) |
| Imports: | Rcpp |
| LinkingTo: | Rcpp, RcppArmadillo |
| Suggests: | data.table, foreach, knitr, rlist, rmarkdown, cli, sf, testthat (≥ 3.0.0) |
| Published: | 2025-09-03 |
| DOI: | 10.32614/CRAN.package.cppSim |
| Author: | Ivann Schlosser |
| Maintainer: | Ivann Schlosser <ivann.schlosser.19 at ucl.ac.uk> |
| License: | MIT + file LICENSE |
| URL: | https://ischlo.github.io/cppSim/, https://github.com/ischlo/cppSim |
| NeedsCompilation: | yes |
| SystemRequirements: | Quarto command line tools (https://github.com/quarto-dev/quarto-cli). |
| Citation: | cppSim citation info |
| Materials: | README, NEWS |
| CRAN checks: | cppSim results |
| Reference manual: | cppSim.html , cppSim.pdf |
| Vignettes: |
Getting started (source, R code) Gravity model (source, R code) |
| Package source: | cppSim_0.2.tar.gz |
| Windows binaries: | r-devel: cppSim_0.2.zip, r-release: cppSim_0.2.zip, r-oldrel: cppSim_0.2.zip |
| macOS binaries: | r-release (arm64): cppSim_0.2.tgz, r-oldrel (arm64): cppSim_0.2.tgz, r-release (x86_64): cppSim_0.2.tgz, r-oldrel (x86_64): cppSim_0.2.tgz |
Please use the canonical form https://CRAN.R-project.org/package=cppSim to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.