pavg | R Documentation |
Returns the average of the numeric values, row per row (similar as pmin)
pavg(df, na_rm)
df |
DataFrame. Contains only numerical values |
na_rm, |
boolean. Accept of not the NAs |
NumericVector or mean values.
pavg( data.frame(a = c(1,2,3), b = c(2,3,3)), na_rm = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.