View source: R/dispRity.utilities.R
rescale.dispRity | R Documentation |
Scales or/and centers the disparity measurements.
## S3 method for class 'dispRity' rescale(data, center = FALSE, scale = TRUE, use.all = TRUE, ...)
data |
a |
center |
either a |
scale |
either a |
use.all |
|
... |
optional arguments to be passed to |
Thomas Guillerme
dispRity
, test.dispRity
, scale
.
## Load the disparity data based on Beck & Lee 2014 data(disparity) ## Scaling the data summary(rescale.dispRity(disparity, scale = TRUE)) # Dividing by the maximum ## Multiplying by 10 (dividing by 0.1) summary(rescale.dispRity(disparity, scale = 0.1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.