meansd | R Documentation |
Methods that estimates a mean and sd and stores it into a single string
meansd(x, digits = c(1, 1))
x |
A vector of numeric value |
digits |
digits for respectively the mean and sd. If a single value is entered it applies to mean and sd |
Returns a string containing mean and sd with entered digit precisions.
Charles-Ãdouard Giguère
xf(Sepal.Width ~ Species, iris, meansd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.