zconv | R Documentation |
Z-conversion
zconv(dat, columns, mrgn, cntr, scl)
dat |
A list of ggplot objects |
columns |
select columns |
mrgn |
1 or 2 |
cntr |
an argument of base::scale. The default value is TRUE |
scl |
an argument of base::scale. The default value is TRUE |
converted data.frame
## zrdat <- zconv(iris, -5, 1) zcdat <- zconv(iris, -5, 2) head(apply(zrdat[-5], 1, mean)); head(apply(zrdat[-5], 1, sd)) head(apply(zcdat[-5], 2, mean)); head(apply(zcdat[-5], 2, sd))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.