Description Usage Arguments Value Examples
Scale numeric columns from a tbl. It uses base::scale()
to scale the numeric vector.
1 | tbl_convert_column_zscore(tbl, scale = TRUE, center = TRUE)
|
tbl |
a tbl. |
scale |
TRUE look at |
center |
TRUE look at |
a tbl.
1 2 3 4 5 | ## Not run:
tbl <- tibble(x = c(0,1,2,0,3,5) , y = c(0,1,2,0,3,5) , z = c(0,1,2,0,3,5) , zz = letters[1:6])
tbl %>% tbl_convert_column_zscore()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.