Retrieve some information on the content of a stranger object.

# S3 method for stranger
get_info(x, simplify = TRUE, ...)

Value

matrix - metrics attributes (corresponding weird info), one row per weird.

Examples

# \dontrun{
library(dplyr)
info <-  iris %>% select(-Species) %>% crazyfy() %>% stranger() %>% get_info()
info
#>               weird_method           name  package  package.source foo       
#> knn_k_10_mean "k-Nearest Neighbour"  "knn" "FNN"    "CRAN"         "knn.dist"
#> lof_minPts_5  "Local Outlier Factor" "lof" "dbscan" "CRAN"         "lof"     
#>               type       sort detail                                          
#> knn_k_10_mean "distance" -1   "Positive numeric value (distance)"             
#> lof_minPts_5  "lofactor" -1   "Positive numeric value (local outlier factors)"
#>               parameters normalizationFunction colname        
#> knn_k_10_mean list,2     ?                     "knn_k_10_mean"
#> lof_minPts_5  list,1     ?                     "lof_minPts_5" 
# }