Learn R Programming

specmine (version 3.1.6)

summary_var_importance: Summary of variables importance

Description

Summary of variables importance of the models

Usage

summary_var_importance(performances, number.rows)

Arguments

performances

the result from training the models.

number.rows

number of variables to display.

Value

Returns list with the variables importance of each model.

Examples

Run this code
# NOT RUN {
  ## Example of getting a summary of variables importance
  library(specmine.datasets)
  data(cachexia)
  training.result = train_models_performance(cachexia, "pls", 
  	"Muscle.loss", "cv")
  result = summary_var_importance(training.result, 10)
  
# }

Run the code above in your browser using DataLab