View source: R/z_scored_grand_mean.R
z_scored_grand_mean | R Documentation |
This function will compute z-scores with respect to the grand mean.
z_scored_grand_mean(data, cols, keep_original = TRUE)
data |
A data.frame or a data.frame extension (e.g. a tibble). |
cols |
Columns that need to be centered. See 'dplyr::dplyr_tidy_select' for available options. |
keep_original |
default is 'FALSE'. Set to 'TRUE' to keep original columns |
An object of the same type as .data. The output has the following properties: 1. Columns from .data will be preserved 2. Columns with scores that are z-scored
z_scored_grand_mean(iris,where(is.numeric))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.