R/tbl_convert.R
tbl_convert_column_zscore.Rd
Scale numeric columns from a tbl. It uses base::scale() to scale the numeric vector.
base::scale()
tbl_convert_column_zscore(tbl, scale = TRUE, center = TRUE)
a tbl.
TRUE look at scale argument of function base::scale().
scale
TRUE look at center argument of function base::scale().
center
if (FALSE) { 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() }