
Last chance! 50% off unlimited learning
Sale ends in
RobScale
is a wrapper function for robust standardization, using median
and mad
instead of mean
and sd
.RobScale(x, center = TRUE, scale = TRUE)
scale
, sweep
x <- d.pizza$temperature
plot(x=seq_along(x), y=RobScale(x), xlim=c(0,100))
points(x=seq_along(x), y=scale(x), col="red" )
Run the code above in your browser using DataLab