Table: Benchmarking of colWeightedMeans_X_w_S(), colWeightedMeans(X, w, rows, cols)() and colWeightedMeans(X[rows, cols], w[rows])() on 10x10 data. The top panel shows times in milliseconds and the bottom panel shows relative times.
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
0.008422
0.0088190
0.0090774
0.0090070
0.0092395
0.016219
3
colWeightedMeans(X[rows, cols], w[rows])
0.009737
0.0102495
0.0104549
0.0104245
0.0105650
0.014009
2
colWeightedMeans(X, w, rows, cols)
0.010534
0.0111485
0.0145679
0.0113280
0.0115600
0.325739
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
1.000000
1.000000
1.000000
1.000000
1.00000
1.0000000
3
colWeightedMeans(X[rows, cols], w[rows])
1.156139
1.162207
1.151757
1.157378
1.14346
0.8637401
2
colWeightedMeans(X, w, rows, cols)
1.250772
1.264146
1.604858
1.257688
1.25115
20.0837906
Table: Benchmarking of rowWeightedMeans_X_w_S(), rowWeightedMeans(X, w, cols, rows)() and rowWeightedMeans(X[cols, rows], w[rows])() on 10x10 data (transposed). The top panel shows times in milliseconds and the bottom panel shows relative times.
expr
min
lq
mean
median
uq
max
1
rowWeightedMeans_X_w_S
0.010462
0.0106835
0.0109957
0.0108735
0.011067
0.015903
3
rowWeightedMeans(X[cols, rows], w[rows])
0.011303
0.0119175
0.0123037
0.0121050
0.012298
0.021273
2
rowWeightedMeans(X, w, cols, rows)
0.012672
0.0129740
0.0166216
0.0131220
0.013385
0.345761
expr
min
lq
mean
median
uq
max
1
rowWeightedMeans_X_w_S
1.000000
1.000000
1.000000
1.000000
1.000000
1.000000
3
rowWeightedMeans(X[cols, rows], w[rows])
1.080386
1.115505
1.118956
1.113257
1.111232
1.337672
2
rowWeightedMeans(X, w, cols, rows)
1.211241
1.214396
1.511647
1.206787
1.209451
21.741873
Figure: Benchmarking of colWeightedMeans_X_w_S(), colWeightedMeans(X, w, rows, cols)() and colWeightedMeans(X[rows, cols], w[rows])() on 10x10 data as well as rowWeightedMeans_X_w_S(), rowWeightedMeans(X, w, cols, rows)() and rowWeightedMeans(X[cols, rows], w[rows])() on the same data transposed. Outliers are displayed as crosses. Times are in milliseconds.
Table: Benchmarking of colWeightedMeans_X_w_S() and rowWeightedMeans_X_w_S() on 10x10 data (original and transposed). The top panel shows times in milliseconds and the bottom panel shows relative times.
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
8.422
8.8190
9.07736
9.0070
9.2395
16.219
2
rowWeightedMeans_X_w_S
10.462
10.6835
10.99570
10.8735
11.0670
15.903
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
1.000000
1.000000
1.000000
1.000000
1.000000
1.0000000
2
rowWeightedMeans_X_w_S
1.242223
1.211418
1.211332
1.207228
1.197792
0.9805167
Figure: Benchmarking of colWeightedMeans_X_w_S() and rowWeightedMeans_X_w_S() on 10x10 data (original and transposed). Outliers are displayed as crosses. Times are in milliseconds.
Table: Benchmarking of colWeightedMeans_X_w_S(), colWeightedMeans(X, w, rows, cols)() and colWeightedMeans(X[rows, cols], w[rows])() on 100x100 data. The top panel shows times in milliseconds and the bottom panel shows relative times.
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
0.018505
0.0191635
0.0200976
0.0197605
0.0206115
0.026853
3
colWeightedMeans(X[rows, cols], w[rows])
0.034474
0.0357510
0.0375220
0.0362285
0.0375605
0.073949
2
colWeightedMeans(X, w, rows, cols)
0.042417
0.0432050
0.0457495
0.0438460
0.0459230
0.113261
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
1.000000
1.000000
1.000000
1.000000
1.000000
1.000000
3
colWeightedMeans(X[rows, cols], w[rows])
1.862956
1.865578
1.866988
1.833380
1.822308
2.753845
2
colWeightedMeans(X, w, rows, cols)
2.292191
2.254546
2.276367
2.218871
2.228028
4.217816
Table: Benchmarking of rowWeightedMeans_X_w_S(), rowWeightedMeans(X, w, cols, rows)() and rowWeightedMeans(X[cols, rows], w[rows])() on 100x100 data (transposed). The top panel shows times in milliseconds and the bottom panel shows relative times.
expr
min
lq
mean
median
uq
max
1
rowWeightedMeans_X_w_S
0.055723
0.056827
0.0575488
0.0572280
0.0579205
0.067981
3
rowWeightedMeans(X[cols, rows], w[rows])
0.065264
0.065902
0.0668488
0.0664445
0.0673160
0.076393
2
rowWeightedMeans(X, w, cols, rows)
0.072875
0.073695
0.0756670
0.0745210
0.0757430
0.138304
expr
min
lq
mean
median
uq
max
1
rowWeightedMeans_X_w_S
1.000000
1.000000
1.000000
1.000000
1.000000
1.000000
3
rowWeightedMeans(X[cols, rows], w[rows])
1.171222
1.159695
1.161601
1.161049
1.162214
1.123741
2
rowWeightedMeans(X, w, cols, rows)
1.307808
1.296831
1.314832
1.302177
1.307706
2.034451
Figure: Benchmarking of colWeightedMeans_X_w_S(), colWeightedMeans(X, w, rows, cols)() and colWeightedMeans(X[rows, cols], w[rows])() on 100x100 data as well as rowWeightedMeans_X_w_S(), rowWeightedMeans(X, w, cols, rows)() and rowWeightedMeans(X[cols, rows], w[rows])() on the same data transposed. Outliers are displayed as crosses. Times are in milliseconds.
Table: Benchmarking of colWeightedMeans_X_w_S() and rowWeightedMeans_X_w_S() on 100x100 data (original and transposed). The top panel shows times in milliseconds and the bottom panel shows relative times.
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
18.505
19.1635
20.09761
19.7605
20.6115
26.853
2
rowWeightedMeans_X_w_S
55.723
56.8270
57.54882
57.2280
57.9205
67.981
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
1.00000
1.000000
1.000000
1.000000
1.000000
1.000000
2
rowWeightedMeans_X_w_S
3.01124
2.965377
2.863466
2.896081
2.810106
2.531598
Figure: Benchmarking of colWeightedMeans_X_w_S() and rowWeightedMeans_X_w_S() on 100x100 data (original and transposed). Outliers are displayed as crosses. Times are in milliseconds.
Table: Benchmarking of colWeightedMeans_X_w_S(), colWeightedMeans(X, w, rows, cols)() and colWeightedMeans(X[rows, cols], w[rows])() on 1000x10 data. The top panel shows times in milliseconds and the bottom panel shows relative times.
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
0.026795
0.0274550
0.0287832
0.0277690
0.029024
0.058835
3
colWeightedMeans(X[rows, cols], w[rows])
0.044465
0.0453660
0.0467978
0.0460920
0.047612
0.060079
2
colWeightedMeans(X, w, rows, cols)
0.054934
0.0558125
0.0576411
0.0563185
0.057492
0.137369
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
1.000000
1.000000
1.000000
1.000000
1.000000
1.000000
3
colWeightedMeans(X[rows, cols], w[rows])
1.659451
1.652377
1.625871
1.659836
1.640435
1.021144
2
colWeightedMeans(X, w, rows, cols)
2.050159
2.032872
2.002590
2.028107
1.980843
2.334818
Table: Benchmarking of rowWeightedMeans_X_w_S(), rowWeightedMeans(X, w, cols, rows)() and rowWeightedMeans(X[cols, rows], w[rows])() on 1000x10 data (transposed). The top panel shows times in milliseconds and the bottom panel shows relative times.
expr
min
lq
mean
median
uq
max
1
rowWeightedMeans_X_w_S
0.065006
0.0658005
0.0664799
0.066194
0.0666275
0.071336
3
rowWeightedMeans(X[cols, rows], w[rows])
0.077246
0.0780405
0.0795255
0.078481
0.0792495
0.150825
2
rowWeightedMeans(X, w, cols, rows)
0.089107
0.0902450
0.0916613
0.090808
0.0916245
0.121058
expr
min
lq
mean
median
uq
max
1
rowWeightedMeans_X_w_S
1.00000
1.000000
1.000000
1.000000
1.000000
1.000000
3
rowWeightedMeans(X[cols, rows], w[rows])
1.18829
1.186017
1.196234
1.185621
1.189441
2.114290
2
rowWeightedMeans(X, w, cols, rows)
1.37075
1.371494
1.378782
1.371846
1.375175
1.697011
Figure: Benchmarking of colWeightedMeans_X_w_S(), colWeightedMeans(X, w, rows, cols)() and colWeightedMeans(X[rows, cols], w[rows])() on 1000x10 data as well as rowWeightedMeans_X_w_S(), rowWeightedMeans(X, w, cols, rows)() and rowWeightedMeans(X[cols, rows], w[rows])() on the same data transposed. Outliers are displayed as crosses. Times are in milliseconds.
Table: Benchmarking of colWeightedMeans_X_w_S() and rowWeightedMeans_X_w_S() on 1000x10 data (original and transposed). The top panel shows times in milliseconds and the bottom panel shows relative times.
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
26.795
27.4550
28.78325
27.769
29.0240
58.835
2
rowWeightedMeans_X_w_S
65.006
65.8005
66.47990
66.194
66.6275
71.336
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
1.00000
1.000000
1.000000
1.000000
1.0000
1.000000
2
rowWeightedMeans_X_w_S
2.42605
2.396667
2.309673
2.383737
2.2956
1.212476
Figure: Benchmarking of colWeightedMeans_X_w_S() and rowWeightedMeans_X_w_S() on 1000x10 data (original and transposed). Outliers are displayed as crosses. Times are in milliseconds.
Table: Benchmarking of colWeightedMeans_X_w_S(), colWeightedMeans(X, w, rows, cols)() and colWeightedMeans(X[rows, cols], w[rows])() on 10x1000 data. The top panel shows times in milliseconds and the bottom panel shows relative times.
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
0.018081
0.0188180
0.0199830
0.0191135
0.019512
0.074175
3
colWeightedMeans(X[rows, cols], w[rows])
0.028089
0.0289945
0.0294583
0.0292890
0.029721
0.032773
2
colWeightedMeans(X, w, rows, cols)
0.036647
0.0375030
0.0386619
0.0380405
0.038872
0.063118
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
1.000000
1.000000
1.000000
1.000000
1.000000
1.0000000
3
colWeightedMeans(X[rows, cols], w[rows])
1.553509
1.540785
1.474167
1.532372
1.523216
0.4418335
2
colWeightedMeans(X, w, rows, cols)
2.026824
1.992932
1.934739
1.990242
1.992210
0.8509336
Table: Benchmarking of rowWeightedMeans_X_w_S(), rowWeightedMeans(X, w, cols, rows)() and rowWeightedMeans(X[cols, rows], w[rows])() on 10x1000 data (transposed). The top panel shows times in milliseconds and the bottom panel shows relative times.
expr
min
lq
mean
median
uq
max
1
rowWeightedMeans_X_w_S
0.054120
0.0549015
0.0555479
0.0551930
0.0555910
0.063898
3
rowWeightedMeans(X[cols, rows], w[rows])
0.063296
0.0639285
0.0655693
0.0642665
0.0646320
0.154854
2
rowWeightedMeans(X, w, cols, rows)
0.070700
0.0717700
0.0726398
0.0721455
0.0725115
0.101257
expr
min
lq
mean
median
uq
max
1
rowWeightedMeans_X_w_S
1.000000
1.000000
1.000000
1.000000
1.000000
1.000000
3
rowWeightedMeans(X[cols, rows], w[rows])
1.169549
1.164422
1.180410
1.164396
1.162634
2.423456
2
rowWeightedMeans(X, w, cols, rows)
1.306356
1.307250
1.307696
1.307149
1.304375
1.584666
Figure: Benchmarking of colWeightedMeans_X_w_S(), colWeightedMeans(X, w, rows, cols)() and colWeightedMeans(X[rows, cols], w[rows])() on 10x1000 data as well as rowWeightedMeans_X_w_S(), rowWeightedMeans(X, w, cols, rows)() and rowWeightedMeans(X[cols, rows], w[rows])() on the same data transposed. Outliers are displayed as crosses. Times are in milliseconds.
Table: Benchmarking of colWeightedMeans_X_w_S() and rowWeightedMeans_X_w_S() on 10x1000 data (original and transposed). The top panel shows times in milliseconds and the bottom panel shows relative times.
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
18.081
18.8180
19.98299
19.1135
19.512
74.175
2
rowWeightedMeans_X_w_S
54.120
54.9015
55.54790
55.1930
55.591
63.898
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
1.000000
1.000000
1.000000
1.000000
1.000000
1.0000000
2
rowWeightedMeans_X_w_S
2.993197
2.917499
2.779759
2.887645
2.849067
0.8614493
Figure: Benchmarking of colWeightedMeans_X_w_S() and rowWeightedMeans_X_w_S() on 10x1000 data (original and transposed). Outliers are displayed as crosses. Times are in milliseconds.
Table: Benchmarking of colWeightedMeans_X_w_S(), colWeightedMeans(X, w, rows, cols)() and colWeightedMeans(X[rows, cols], w[rows])() on 100x1000 data. The top panel shows times in milliseconds and the bottom panel shows relative times.
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
0.086715
0.0936375
0.1324199
0.1033760
0.1913845
0.216416
3
colWeightedMeans(X[rows, cols], w[rows])
0.236394
0.2543960
0.3355398
0.2859300
0.4473855
0.478072
2
colWeightedMeans(X, w, rows, cols)
0.296554
0.3096775
0.4974049
0.3571465
0.6114485
6.401086
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
1.000000
1.000000
1.000000
1.000000
1.000000
1.000000
3
colWeightedMeans(X[rows, cols], w[rows])
2.726103
2.716817
2.533907
2.765922
2.337627
2.209042
2
colWeightedMeans(X, w, rows, cols)
3.419870
3.307195
3.756269
3.454830
3.194869
29.577693
Table: Benchmarking of rowWeightedMeans_X_w_S(), rowWeightedMeans(X, w, cols, rows)() and rowWeightedMeans(X[cols, rows], w[rows])() on 100x1000 data (transposed). The top panel shows times in milliseconds and the bottom panel shows relative times.
expr
min
lq
mean
median
uq
max
1
rowWeightedMeans_X_w_S
0.448142
0.4494210
0.4642071
0.4520655
0.4597655
0.585779
3
rowWeightedMeans(X[cols, rows], w[rows])
0.517342
0.5194130
0.5953113
0.5225275
0.5274235
6.720449
2
rowWeightedMeans(X, w, cols, rows)
0.586399
0.5900345
0.6102561
0.5932900
0.6014325
0.749185
expr
min
lq
mean
median
uq
max
1
rowWeightedMeans_X_w_S
1.000000
1.000000
1.000000
1.000000
1.000000
1.000000
3
rowWeightedMeans(X[cols, rows], w[rows])
1.154415
1.155738
1.282426
1.155867
1.147158
11.472670
2
rowWeightedMeans(X, w, cols, rows)
1.308512
1.312877
1.314620
1.312398
1.308129
1.278955
Figure: Benchmarking of colWeightedMeans_X_w_S(), colWeightedMeans(X, w, rows, cols)() and colWeightedMeans(X[rows, cols], w[rows])() on 100x1000 data as well as rowWeightedMeans_X_w_S(), rowWeightedMeans(X, w, cols, rows)() and rowWeightedMeans(X[cols, rows], w[rows])() on the same data transposed. Outliers are displayed as crosses. Times are in milliseconds.
Table: Benchmarking of colWeightedMeans_X_w_S() and rowWeightedMeans_X_w_S() on 100x1000 data (original and transposed). The top panel shows times in milliseconds and the bottom panel shows relative times.
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
86.715
93.6375
132.4199
103.3760
191.3845
216.416
2
rowWeightedMeans_X_w_S
448.142
449.4210
464.2071
452.0655
459.7655
585.779
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
1.000000
1.000000
1.000000
1.000000
1.000000
1.000000
2
rowWeightedMeans_X_w_S
5.167987
4.799583
3.505568
4.373022
2.402313
2.706727
Figure: Benchmarking of colWeightedMeans_X_w_S() and rowWeightedMeans_X_w_S() on 100x1000 data (original and transposed). Outliers are displayed as crosses. Times are in milliseconds.
Table: Benchmarking of colWeightedMeans_X_w_S(), colWeightedMeans(X, w, rows, cols)() and colWeightedMeans(X[rows, cols], w[rows])() on 1000x100 data. The top panel shows times in milliseconds and the bottom panel shows relative times.
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
0.104403
0.1366315
0.1931331
0.2080620
0.219613
0.327439
3
colWeightedMeans(X[rows, cols], w[rows])
0.176720
0.2192125
0.4169919
0.3766440
0.390549
9.763244
2
colWeightedMeans(X, w, rows, cols)
0.238867
0.3015410
0.4855723
0.5448855
0.564166
0.682642
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
1.000000
1.000000
1.000000
1.000000
1.000000
1.000000
3
colWeightedMeans(X[rows, cols], w[rows])
1.692672
1.604407
2.159091
1.810249
1.778351
29.816986
2
colWeightedMeans(X, w, rows, cols)
2.287932
2.206965
2.514185
2.618861
2.568910
2.084791
Table: Benchmarking of rowWeightedMeans_X_w_S(), rowWeightedMeans(X, w, cols, rows)() and rowWeightedMeans(X[cols, rows], w[rows])() on 1000x100 data (transposed). The top panel shows times in milliseconds and the bottom panel shows relative times.
expr
min
lq
mean
median
uq
max
1
rowWeightedMeans_X_w_S
0.457238
0.4592535
0.4712499
0.4606355
0.4644000
0.597803
3
rowWeightedMeans(X[cols, rows], w[rows])
0.533144
0.5368280
0.5588002
0.5394435
0.5507575
0.745953
2
rowWeightedMeans(X, w, cols, rows)
0.598959
0.6122735
0.7004234
0.6154305
0.6302045
6.803909
expr
min
lq
mean
median
uq
max
1
rowWeightedMeans_X_w_S
1.00000
1.000000
1.000000
1.000000
1.000000
1.000000
3
rowWeightedMeans(X[cols, rows], w[rows])
1.16601
1.168914
1.185783
1.171085
1.185955
1.247824
2
rowWeightedMeans(X, w, cols, rows)
1.30995
1.333193
1.486310
1.336047
1.357030
11.381524
Figure: Benchmarking of colWeightedMeans_X_w_S(), colWeightedMeans(X, w, rows, cols)() and colWeightedMeans(X[rows, cols], w[rows])() on 1000x100 data as well as rowWeightedMeans_X_w_S(), rowWeightedMeans(X, w, cols, rows)() and rowWeightedMeans(X[cols, rows], w[rows])() on the same data transposed. Outliers are displayed as crosses. Times are in milliseconds.
Table: Benchmarking of colWeightedMeans_X_w_S() and rowWeightedMeans_X_w_S() on 1000x100 data (original and transposed). The top panel shows times in milliseconds and the bottom panel shows relative times.
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
104.403
136.6315
193.1331
208.0620
219.613
327.439
2
rowWeightedMeans_X_w_S
457.238
459.2535
471.2499
460.6355
464.400
597.803
expr
min
lq
mean
median
uq
max
1
colWeightedMeans_X_w_S
1.000000
1.000000
1.000000
1.000000
1.000000
1.000000
2
rowWeightedMeans_X_w_S
4.379549
3.361256
2.440027
2.213934
2.114629
1.825693
Figure: Benchmarking of colWeightedMeans_X_w_S() and rowWeightedMeans_X_w_S() on 1000x100 data (original and transposed). Outliers are displayed as crosses. Times are in milliseconds.