View source: R/panel.groups.segplot.R
centfac | R Documentation |
This function receveis a factor and return a numeric vector with equally spaced factor levels centered at 0. stolen from https://github.com/walmes/wzRfun/blob/master/R/panel.groups.segplot.R
centfac(group, space = NULL)
group |
A factor. |
space |
A numeric value to be used as the space between
levels. If |
Walmes Zeviani, walmes@ufpr.br.
centfac(warpbreaks$tension)
centfac(warpbreaks$tension, space = 1)
centfac(warpbreaks$wool)
centfac(warpbreaks$wool, space = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.