R/VIM1.R

VIM1 <-
function(Tree, VIM_alt){
  # Vorbereitung
    VIM      <- VIM_alt
    Variablen<- sort(Tree$Varis[,2])

  # Berechnung des VIM fuer einen Baum
    VIM[Variablen-1]<- VIM_alt[Variablen-1]+1
    return(VIM)
}

Try the NHEMOtree package in your browser

Any scripts or data that you put into this service are public.

NHEMOtree documentation built on May 2, 2019, 7:32 a.m.