Rousseeuw & Croux (1993) Sn robust scale
Examples
V <- c(1, 2, 3, 4, 5, 6, 7, 8)
SnScale(V)
#> $estimate
#> [1] 2.397126
#>
#> $raw
#> [1] 2
#>
#> $inner
#> [1] 4 3 2 2 2 2 3 4
#>
#> $correction
#> [1] 1.005
#>
#> $constant
#> [1] 1.1926
#>
#> $n
#> [1] 8
#>
#> $method
#> [1] "Rousseeuw & Croux (1993) Sn, robustbase qnsn.R definition"
#>
