ebpcomp.RdComputation of Coordinates of Extended Box Plots Elements
list with elements segments, lines, points, points2
For an extended box plots computes all the elements needed for plotting it. This is typically used when adding to a ggplot2 plot.
ebpcomp(1:1000)
#> $segments
#> $segments$x
#> 50% 25% 75%
#> 500.50 250.75 750.25
#>
#> $segments$y1
#> [1] -1.0000000 -0.6666667 -0.6666667
#>
#> $segments$y2
#> [1] 1.0000000 0.6666667 0.6666667
#>
#>
#> $lines
#> $lines$x
#> 5% 12.5% 12.5% 25% 25% 37.5% 37.5% 62.5% 62.5% 75%
#> 50.950 125.875 125.875 250.750 250.750 375.625 375.625 625.375 625.375 750.250
#> 75% 87.5% 87.5% 95% 95% 87.5% 87.5% 75% 75% 62.5%
#> 750.250 875.125 875.125 950.050 950.050 875.125 875.125 750.250 750.250 625.375
#> 62.5% 37.5% 37.5% 25% 25% 12.5% 12.5% 5% 5%
#> 625.375 375.625 375.625 250.750 250.750 125.875 125.875 50.950 50.950
#>
#> $lines$y
#> [1] 0.1333333 0.1333333 0.3333333 0.3333333 0.6666667 0.6666667
#> [7] 1.0000000 1.0000000 0.6666667 0.6666667 0.3333333 0.3333333
#> [13] 0.1333333 0.1333333 -0.1333333 -0.1333333 -0.3333333 -0.3333333
#> [19] -0.6666667 -0.6666667 -1.0000000 -1.0000000 -0.6666667 -0.6666667
#> [25] -0.3333333 -0.3333333 -0.1333333 -0.1333333 0.1333333
#>
#>
#> $points
#> $points$x
#> [1] 500.5
#>
#> $points$y
#> [1] 0
#>
#> $points$N
#> [1] 1000
#>
#>
#> $points2
#> $points2$x
#> 1% 99%
#> 10.99 990.01
#>
#> $points2$y
#> [1] 0
#>
#>