computeStats | R Documentation |
Returns count, mean, stdev, and cv of vector, matrix or dataframe
computeStats(x, byCol = TRUE, cols.factors = 1, cols.vars = 2)
x |
|
byCol |
|
cols.factors |
|
cols.vars |
|
for x a vector, returns vector with count,mean, stdev and cv as elements
for x a matrix, returns matrix w/ rows with elements count, mean, stdev and cv
Rownames correspond to column (or row) names of original matrix.
for x a dataframe, returns NULL (not yet implemented)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.