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.7726077 2.1523612 #> [2,] -1.4030667 2.4098746 #> [3,] -0.5317132 1.8851161 #> [4,] -1.2789969 1.4829089 #> [5,] -2.3940251 0.9022771 #> [6,] -0.9944763 1.5931299 #> [7,] -1.8165664 1.7975423 #> [8,] -1.2978173 2.7793020 #> [9,] -2.0855364 1.8599082 #> [10,] -1.9071672 2.7925421 #> [11,] -1.2258261 1.1956390 #> [12,] -1.8641954 1.9993244 #> [13,] -1.1960021 1.7035021 #> [14,] -1.3888906 1.2042193 #> [15,] -2.2271756 2.1472040 #> [16,] -1.8263339 1.2046245 #> [17,] -1.7805553 2.4648551 #> [18,] -1.5552432 2.0580073 #> [19,] -2.3716137 1.6589141 #> [20,] -0.8854998 0.9070953 #> 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 #>