scaled_mean {partition} | R Documentation |
Average and scale rows in a data.frame
Description
scaled_mean()
calculates scaled row means for a dataframe.
Usage
scaled_mean(.x, method = c("r", "c"))
Arguments
.x |
a |
method |
The method source: both the pure R and C++ versions are efficient |
Value
a numeric vector
Examples
library(dplyr)
iris %>%
select_if(is.numeric) %>%
scaled_mean()
[Package partition version 0.2.1 Index]