Skip to content

Commit c127e74

Browse files
committed
recommit
1 parent 41b27c4 commit c127e74

4 files changed

Lines changed: 36 additions & 30 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Description: This package builds on top of the RcppArmadillo linear
1313
and destinations. It aims at implementing an easy approach based on
1414
matrices. Currently, the simplest form of production, destination and
1515
doubly constrained models are implemented.
16+
Date: 2024-12-10
1617
License: MIT + file LICENSE
1718
URL: https://ischlo.github.io/cppSim/, https://github.com/ischlo/cppSim
1819
Depends:

README.Rmd

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
output: github_document
3-
bibliography: references.bib
3+
# bibliography: references.bib
44
---
55

66
------------------------------------------------------------------------
@@ -104,4 +104,13 @@ print(bench)
104104
105105
```
106106

107-
## References
107+
## Citation
108+
109+
```{r eval=TRUE,echo=FALSE,include=TRUE}
110+
111+
citation("cppSim")
112+
113+
```
114+
115+
116+
<!-- ## References -->

README.md

Lines changed: 23 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -101,37 +101,33 @@ installed.
101101

102102
### Other
103103

104-
On the R side, it uses `Rcpp` (Eddelbuettel and François 2011) and
105-
`RcppArmadillo` (Eddelbuettel and Sanderson 2014).
104+
On the R side, it uses `Rcpp` \[@eddelbuettel2011\] and `RcppArmadillo`
105+
\[@eddelbuettel2014\].
106106

107107
## Performance
108108

109109
Compared to the equivalent functions implemented in pure R, it runs
110110
about x10 faster for a $\sim 1000\times 1000$ OD matrix, the speed up is
111111
increasingly more significant as matrices get bigger.
112112

113-
#> [1] ""
114-
115-
## References
116-
117-
<div id="refs" class="references csl-bib-body hanging-indent"
118-
entry-spacing="0">
119-
120-
<div id="ref-eddelbuettel2011" class="csl-entry">
121-
122-
Eddelbuettel, Dirk, and Romain François. 2011. “**Rcpp** : Seamless *R*
123-
and *C++* Integration.” *Journal of Statistical Software* 40 (8).
124-
<https://doi.org/10.18637/jss.v040.i08>.
125-
126-
</div>
127-
128-
<div id="ref-eddelbuettel2014" class="csl-entry">
129-
130-
Eddelbuettel, Dirk, and Conrad Sanderson. 2014. “RcppArmadillo:
131-
Accelerating R with High-Performance C++ Linear Algebra.” *Computational
132-
Statistics & Data Analysis* 71: 1054–63.
133-
<https://doi.org/10.1016/j.csda.2013.02.005>.
134-
135-
</div>
136-
137-
</div>
113+
#> [1] "/Users/cenv1069/Library/R/arm64/4.4/library/cppSim/extdata/benchmark_test.rds"
114+
115+
## Citation
116+
117+
#> To cite package 'cppSim' in publications use:
118+
#>
119+
#> Schlosser I (2024). _cppSim: Fast and Memory Efficient Spatial
120+
#> Interaction Models_. R package version 0.2,
121+
#> https://github.com/ischlo/cppSim, <https://ischlo.github.io/cppSim/>.
122+
#>
123+
#> A BibTeX entry for LaTeX users is
124+
#>
125+
#> @Manual{,
126+
#> title = {cppSim: Fast and Memory Efficient Spatial Interaction Models},
127+
#> author = {Ivann Schlosser},
128+
#> year = {2024},
129+
#> note = {R package version 0.2, https://github.com/ischlo/cppSim},
130+
#> url = {https://ischlo.github.io/cppSim/},
131+
#> }
132+
133+
<!-- ## References -->

vignettes/gravity_model.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ e_sorensen <- function(data, fit) {
130130

131131

132132

133-
```{r load_data}
133+
```{r load_data, echo=FALSE}
134134
135135
flows_matrix <- list.load("flows_matrix.rds")
136136

0 commit comments

Comments
 (0)