| scaleOutlier | R Documentation | 
Robust scaling of a numeric vector
scaleOutlier(
  x,
  center = "median",
  scale = "mad",
  method,
  na.rm = FALSE,
  noScaleIf0 = FALSE,
  ...
)
x | 
 a numeric vector  | 
center | 
 the method used to assess the "average" value  | 
scale | 
 the method used to assess the dispersion of the data  | 
method | 
 a method taking the dataset as its first argument and returning first the center and then the scale value. Disregarded if arguments center and scale are not null.  | 
na.rm | 
 should missing values be omitted  | 
noScaleIf0 | 
 If   | 
... | 
 additional arguments passed to method  | 
the scaled vector
n <- 1e3
scaleOutlier(rnorm(n))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.