Description Usage Arguments Value Author(s) Examples
This function accepts a dataframe as input and extracts the mean value of each numeric variable.
1 | bloodmeans(df, var = NULL)
|
df |
a |
var |
NULL (default) or the unquoted name of the variable by which to group the input df. |
a data.frame with the mean values of each numeric
John Doe
1 2 3 4 5 6 7 8 9 10 | ## Not run:
library(magrittr)
data.frame(x1 = c(1,2,3), x2 = c(4,5,6)) %>%
bloodstats::bloodmeans()
# Grouped bloodmeans
bloodstats::df_example %>%
bloodstats::bloodmeans(var = group)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.