{"repo":"HenrikBengtsson/matrixStats","free":true,"listed":false,"github":"https://github.com/HenrikBengtsson/matrixStats","clone":"git clone https://github.com/HenrikBengtsson/matrixStats.git","description":"R package: Methods that Apply to Rows and Columns of Matrices (and to Vectors)","language":"R","stars":215,"topics":["r","package","matrix","vector","performance","cran"],"license":null,"category":"chat-messaging","readme_excerpt":"matrixStats: Functions that Apply to Rows and Columns of Matrices (and to Vectors) Introduction The matrixStats package provides highly optimized functions for computing common summaries over rows and columns of matrices, e.g. rowQuantiles() . There are also functions that operate on vectors, e.g. logSumExp() . Their implementations strive to minimize both memory usage and processing time. They are often remarkably faster compared to good old apply() solutions. The calculations are mostly implemented in C, which allow us to optimize beyond what is possible to do in plain R. The package installs out-of-the-box on all common operating systems, including Linux, macOS and Windows. Example With a matrix it is [many times faster] to calculate medians column by column using than using Moreover, if performing calculations on a subset of rows and/or columns, using is much faster and more memory efficient than Benchmarks For formal benchmarking of matrixStats functions relative to alternatives, see the [Benchmark reports]. Design goals The objectives of the matrixStats package is to perform operations on matrices (i) as faster as possible, while (ii) not using unnecessary amounts of memory. These objectives drive the design, including the choice of the different defaults. [many times faster]: https://www.jottr.org/2015/01/matrixStats-0.13.1.html [Benchmark reports]: https://github.com/HenrikBengtsson/matrixStats/wiki/Benchmark-reports Installation R package matrixStats is available on ","default_branch":null,"files":null,"tree":[],"storefront":"/r/HenrikBengtsson","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/HenrikBengtsson/matrixStats/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}