Description Usage Arguments Value Examples
Calculate non zero mean of a data frame, matrix or vector. If the parameter by
is applied,
mean will be calculated per groups of columns, not rows.
1 |
x |
a numerical vector, matrix or data frame. |
by |
a vector or list of grouping elements, each as long as the variables in the data frame
|
Non zero mean of x
or non zero mean of groups of columns in x
.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.