calc_average | R Documentation |
Calculate different types of averages
calc_average(x, avg_type = "simple")
x |
A Dataframe |
avg_type |
Choosing average type. So far "simple", "geometric" and "harmonic" average are availableƧ |
A data frame
x <- data.frame(rnorm(20),rnorm(20),rnorm(20),rnorm(20))
calc_average(x,avg_type = "simple")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.