@@ -120,8 +120,8 @@ microbenchmark(
120
120
121
121
Unit: relative
122
122
expr min lq mean median uq max neval
123
- splines::bs 3.7912 3.4712 3.0323 3.0225 2.7241 2.2102 100
124
- splines::splineDesign 2.2886 2.0211 2.0447 1.9515 1.8277 7.5002 100
123
+ splines::bs 3.5101 2.7677 2.4657 2.8721 2.2682 1.5334 100
124
+ splines::splineDesign 2.4324 1.9049 1.9833 2.1624 1.7941 8.4094 100
125
125
splines2::bSpline 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 100
126
126
127
127
Similarly, for derivatives of B-splines, ` splines2::dbs() ` provides
@@ -143,7 +143,7 @@ microbenchmark(
143
143
144
144
Unit: relative
145
145
expr min lq mean median uq max neval
146
- splines::splineDesign 2.6852 2.5206 2.2538 2.3575 2.3279 1.8326 100
146
+ splines::splineDesign 2.7082 2.4949 2.0586 2.0985 2.1164 1.5585 100
147
147
splines2::dbs 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 100
148
148
149
149
The ** splines** package does not contain an implementation for integrals
@@ -167,9 +167,9 @@ microbenchmark(
167
167
```
168
168
169
169
Unit: relative
170
- expr min lq mean median uq max neval
171
- ibs::ibs 32.03 31.591 29.248 29.421 25.925 34.233 100
172
- splines2::ibs 1.00 1.000 1.000 1.000 1.000 1.000 100
170
+ expr min lq mean median uq max neval
171
+ ibs::ibs 53.484 45.639 42.991 42.464 39.945 30.853 100
172
+ splines2::ibs 1.000 1.000 1.000 1.000 1.000 1.000 100
173
173
174
174
The function ` ibs::ibs() ` returns the integrated B-splines instead of
175
175
the integrals of spline basis functions. Thus, we applied the same
@@ -195,9 +195,9 @@ microbenchmark(
195
195
```
196
196
197
197
Unit: relative
198
- expr min lq mean median uq max neval
199
- splines::ns 5.0293 4.587 4.7114 4.437 5.1284 5.518 100
200
- splines2::nsp 1.0000 1.000 1.0000 1.000 1.0000 1.000 100
198
+ expr min lq mean median uq max neval
199
+ splines::ns 5.8949 5.4165 4.8466 4.5983 5.1892 3.7201 100
200
+ splines2::nsp 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 100
201
201
202
202
The functions ` bSpline() ` and ` mSpline() ` produce periodic spline basis
203
203
functions based on B-splines and M-splines, respectively, when
@@ -225,9 +225,9 @@ microbenchmark(
225
225
226
226
Unit: relative
227
227
expr min lq mean median uq max neval
228
- pbs::pbs 4.1600 4.0790 3.8862 3.9842 3.8213 3.73872 100
228
+ pbs::pbs 4.2867 3.8656 2.6849 3.6822 2.8756 1.00982 100
229
229
splines2::bSpline 1.0000 1.0000 1.0000 1.0000 1.0000 1.00000 100
230
- splines2::mSpline 1.1416 1.1377 0.9660 1.1702 1.1424 0.12893 100
230
+ splines2::mSpline 1.0787 1.0477 0.8013 1.1933 1.0466 0.11527 100
231
231
232
232
<details >
233
233
<summary >
@@ -238,7 +238,7 @@ Session Information for Benchmarks
238
238
sessionInfo()
239
239
```
240
240
241
- R version 4.4.0 (2024-04-24 )
241
+ R version 4.4.2 (2024-10-31 )
242
242
Platform: x86_64-pc-linux-gnu
243
243
Running under: Arch Linux
244
244
@@ -251,20 +251,20 @@ sessionInfo()
251
251
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C
252
252
[10] LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
253
253
254
- time zone: America/New_York
254
+ time zone: America/Indianapolis
255
255
tzcode source: system (glibc)
256
256
257
257
attached base packages:
258
258
[1] splines stats graphics grDevices utils datasets methods base
259
259
260
260
other attached packages:
261
- [1] splines2_0.5.3 microbenchmark_1.4.10
261
+ [1] splines2_0.5.4 microbenchmark_1.5.0
262
262
263
263
loaded via a namespace (and not attached):
264
- [1] digest_0.6.36 codetools_0.2-20 ibs_1.4 fastmap_1.2.0 xfun_0.45
265
- [6] pbs_1.1 knitr_1.47 htmltools_0.5.8.1 rmarkdown_2.27 cli_3.6.3
266
- [11] compiler_4.4.0 tools_4.4.0 evaluate_0.24.0 Rcpp_1.0.12 yaml_2.3.8
267
- [16] rlang_1.1.4
264
+ [1] digest_0.6.37 codetools_0.2-20 ibs_1.4 fastmap_1.2.0 xfun_0.51
265
+ [6] pbs_1.1 knitr_1.49 htmltools_0.5.8.1 rmarkdown_2.29 cli_3.6.4
266
+ [11] compiler_4.4.2 tools_4.4.2 evaluate_1.0.3 Rcpp_1.0.14 yaml_2.3.10
267
+ [16] rlang_1.1.5
268
268
269
269
</details >
270
270
0 commit comments