tbl_convert_row_zscore: Scale rows

Description Usage Arguments Value See Also Examples

View source: R/tbl_convert.R

Description

Scale rows considering numeric columns from a tbl.

Usage

1

Arguments

tbl

a tbl.

scale

TRUE for further details refer scale argument of function scale. base::scale().

center

TRUE for further details refer center argument of function scale.

Value

a tbl.

See Also

scale

Examples

1
2
3
4
5
6
## Not run: 
set.seed(12345)
tbl <- tibble(x = sample(c(1:10) , 5) , y = sample(c(1:10) , 5) , z = sample(c(1:10) , 5) , zz = letters[1:5])
tbl %>% tbl_convert_row_zscore()

## End(Not run)

cparsania/TidyWrappers documentation built on Feb. 6, 2022, 3:25 p.m.