Description Usage Arguments Details Value Author(s) See Also Examples
Get the Max of each column of a matrix or data-frame
1 | colMax(Matrix)
|
Matrix |
A |
The values should be all numeric
Returns a vector of length = ncol(Matrix)
with the column maximums
Subhrangshu Nandi, PhD Statistics, UW Madison; snandi@wisc.edu or nands31@gmail.com
1 2 | data( LifeCycleSavings )
colMax( Matrix = t(LifeCycleSavings) )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.