Extract bands from functional depth object.

fncGetBand(obj, band = 0.5)

Arguments

obj

object that inherits from FunctionalDepth.

band

single numeric value.

Examples

x <- matrix(rnorm(600), nc = 20) obj <- fncDepth(x, method = "FM", dep1d = "Mahalanobis")
#> Warning: Coercing LHS to a list
fncGetBand(obj)
#> An object of class "FncBand" #> [,1] [,2] #> [1,] -1.150874 1.4381415 #> [2,] -1.410511 1.7445333 #> [3,] -2.000033 1.4748187 #> [4,] -2.110963 1.9421542 #> [5,] -1.505257 1.4440578 #> [6,] -1.134218 0.8085050 #> [7,] -1.077228 2.3794987 #> [8,] -1.229939 2.0013940 #> [9,] -2.345472 1.3816153 #> [10,] -2.229447 1.2181515 #> [11,] -2.122266 1.2001524 #> [12,] -1.222632 1.6467939 #> [13,] -1.899235 1.7508940 #> [14,] -1.120178 0.9821948 #> [15,] -1.459990 2.2461154 #> [16,] -1.994068 1.6155263 #> [17,] -1.302892 2.1838987 #> [18,] -1.292221 2.1140721 #> [19,] -2.554050 1.7336676 #> [20,] -1.022949 2.5154898 #> Slot "index": #> [1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 #> #> Slot "level": #> [1] 0.5 #>