search for: colmedians

Displaying 7 results from an estimated 7 matches for "colmedians".

2006 Jan 20
3
function for rowMedian?
Hi is anybody aware of a function to calculate a the median for specified columns in a dataframe or matrix - so analogous to rowMeans? Thanks Max --
2015 Jan 26
0
matrixStats 0.13.1 - Methods that Apply to Rows and Columns of a Matrix (and Vectors)
...ommon operating systems, including Linux, OS X and Windows. The following example computes the median of the columns in a 20-by-500 matrix: > library("matrixStats") > X <- matrix(rnorm(20 * 500), nrow = 20, ncol = 500) > stats <- microbenchmark::microbenchmark(colMedians = colMedians(X), + `apply+median` = apply(X, MARGIN = 2, FUN = median), unit = "ms") > stats Unit: milliseconds expr min lq mean median uq max neval cld colMedians 0.41 0.45 0.49 0.47 0.5 0.75 100 a apply+median 21.50 22.77 25...
2015 Jan 26
0
matrixStats 0.13.1 - Methods that Apply to Rows and Columns of a Matrix (and Vectors)
...ommon operating systems, including Linux, OS X and Windows. The following example computes the median of the columns in a 20-by-500 matrix: > library("matrixStats") > X <- matrix(rnorm(20 * 500), nrow = 20, ncol = 500) > stats <- microbenchmark::microbenchmark(colMedians = colMedians(X), + `apply+median` = apply(X, MARGIN = 2, FUN = median), unit = "ms") > stats Unit: milliseconds expr min lq mean median uq max neval cld colMedians 0.41 0.45 0.49 0.47 0.5 0.75 100 a apply+median 21.50 22.77 25...
2009 Dec 28
0
micEcon split into miscTools, micEconAids, and micEcon
The "micEcon" package has been split into three packages: miscTools, micEconAids, and micEcon. a) miscTools (version 0.6-0) includes miscellaneous small tools and utilities that are not related to (micro)economics, e.g. colMedians(), rowMedians(), insertCol(), insertRow(), vecli(), symMatrix(), triang(), semidefiniteness(), compPlot(), and rSquared(). The miscTools package should depend on (almost) no other packages so that it can be used in other packages without increasing the total (recursive!) dependencies of these packa...
2009 Dec 28
0
micEcon split into miscTools, micEconAids, and micEcon
The "micEcon" package has been split into three packages: miscTools, micEconAids, and micEcon. a) miscTools (version 0.6-0) includes miscellaneous small tools and utilities that are not related to (micro)economics, e.g. colMedians(), rowMedians(), insertCol(), insertRow(), vecli(), symMatrix(), triang(), semidefiniteness(), compPlot(), and rSquared(). The miscTools package should depend on (almost) no other packages so that it can be used in other packages without increasing the total (recursive!) dependencies of these packa...
2012 Jun 22
1
Variance with confidence interval
Hi, Is there a way to calculate variance directly by specifying confidence interval using R ? I am specifically asking because I wanted to investigate how this could be useful for project schedule variance calculation. Moreover I am interested in using R for monte carlo simulation as well and any simple examples would help. I read that project schedules would benefit from this.
2012 Apr 19
4
Column(row)wise minimum and maximum
Hi, Currently, the "base" has colSums, colMeans. It seems that it would be useful to extend this to also include colMin, colMax (of course, rowMin and rowMax, as well) in order to facilitate faster computations for large vectors (compared to using apply). Has this been considered before? Please forgive me if this has already been discussed before. Thanks, Ravi Ravi Varadhan, Ph.D.