Print a gg_minimal_depth object.

Share:

Description

Print a gg_minimal_depth object.

Usage

1
2
## S3 method for class 'gg_minimal_depth'
print(x, ...)

Arguments

x

a gg_minimal_depth object.

...

optional arguments

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
## ------------------------------------------------------------
## classification example
## ------------------------------------------------------------
## Not run: 
## You can build a randomForest
# rfsrc_iris <- rfsrc(Species ~ ., data = iris)
# varsel_iris <- var.select(rfsrc_iris)
# ... or load a cached randomForestSRC object
data(varsel_iris, package="ggRandomForests")

# Get a data.frame containing minimaldepth measures
gg_dta <- gg_minimal_depth(varsel_iris)
print(gg_dta)

## End(Not run)
## ------------------------------------------------------------
## regression example
## ------------------------------------------------------------
## Not run: 
# ... or load a cached randomForestSRC object
data(varsel_airq, package="ggRandomForests")

# Get a data.frame containing minimaldepth measures
gg_dta<- gg_minimal_depth(varsel_airq)
print(gg_dta)

# To nicely print a rfsrc::var.select output... 
print(varsel_airq)

## End(Not run)
## Not run: 
# ... or load a cached randomForestSRC object
data(varsel_Boston, package="ggRandomForests")

# Get a data.frame containing minimaldepth measures
gg_dta<- gg_minimal_depth(varsel_Boston)
print(gg_dta)

# To nicely print a rfsrc::var.select output... 
print(varsel_Boston)

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.