1. rename `permutation` to `_permutation_`, `times` to `_times_` and `reference` to `_reference_` to omit potential problems with feature names https://github.com/ModelOriented/survex/blob/64e96d66dda229d4a8b10d45cdaa9ddae3b73d86/R/surv_feature_importance.R#L160 https://github.com/ModelOriented/survex/blob/64e96d66dda229d4a8b10d45cdaa9ddae3b73d86/R/surv_feature_importance.R#L156 2. use `ret[['_reference_']]` instead of `ret[, ncol(ret)]` for readability and code robustness https://github.com/ModelOriented/survex/blob/64e96d66dda229d4a8b10d45cdaa9ddae3b73d86/R/surv_feature_importance.R#L175 3. sort the result by `_permutation_` after `merge()` like it is done in `type="raw"` https://github.com/ModelOriented/survex/blob/64e96d66dda229d4a8b10d45cdaa9ddae3b73d86/R/surv_feature_importance.R#L170
permutationto_permutation_,timesto_times_andreferenceto_reference_to omit potential problems with feature namessurvex/R/surv_feature_importance.R
Line 160 in 64e96d6
survex/R/surv_feature_importance.R
Line 156 in 64e96d6
ret[['_reference_']]instead ofret[, ncol(ret)]for readability and code robustnesssurvex/R/surv_feature_importance.R
Line 175 in 64e96d6
_permutation_aftermerge()like it is done intype="raw"survex/R/surv_feature_importance.R
Line 170 in 64e96d6