Skip to content

MulvariateRandomForestVarImp

Variable Importance Measures for Multivariate Random Forests

v0.0.2 · Dec 15, 2021 · GPL (>= 3)

Description

Calculates two sets of post-hoc variable importance measures for multivariate random forests. The first set of variable importance measures are given by the sum of mean split improvements for splits defined by feature j measured on user-defined examples (i.e., training or testing samples). The second set of importance measures are calculated on a per-outcome variable basis as the sum of mean absolute difference of node values for each split defined by feature j measured on user-defined examples (i.e., training or testing samples). The user can optionally threshold both sets of importance measures to include only splits that are statistically significant as measured using an F-test.

Downloads

217

Last 30 days

14805th

217

Last 90 days

217

Last year

CRAN Check Status

1 ERROR
13 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 ERROR
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
ERROR r-devel-macos-arm64

tests

  Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(MulvariateRandomForestVarImp)
  > 
  > test_check("MulvariateRandomForestVarImp")
  Saving _problems/test-mean_outcome_difference-23.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 11 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-mean_outcome_difference.R:23:3'): random example works ───────
  Expected `res` to equal `expected_val`.
  Differences:
  actual vs expected
                        [,1]      [,2]
  - actual[1, ]   0.08514245 0.1545578
  + expected[1, ] 0.08500000 0.1550000
  - actual[2, ]   0.13889027 0.1031043
  + expected[2, ] 0.18900000 0.1030000
  - actual[3, ]   0.13903992 0.1311590
  + expected[3, ] 0.13900000 0.1310000
  - actual[4, ]   0.13739764 0.1416523
  + expected[4, ] 0.13700000 0.1410000
  - actual[5, ]   0.08764495 0.1368260
  + expected[5, ] 0.08800000 0.1370000
  
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 11 ]
  Error:
  ! Test failures.
  Execution halted
OK r-devel-windows-x86_64

*


            
OK r-oldrel-macos-arm64

*


            
OK r-oldrel-macos-x86_64

*


            
OK r-oldrel-windows-x86_64

*


            
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 9, 2026
ERROR r-devel-macos-arm64

tests

  Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(MulvariateRandomForestVarImp)
  > 
  > test_check("MulvariateRandomForestVarImp")
  Saving _problems/test-mean_outcome_difference-23.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 11 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-mean_outcome_difference.R:23:3'): random example works ───────
  Expected `res` to equal

Dependency Network

Dependencies Reverse dependencies MultivariateRandomForest MASS MulvariateRandomForestVarImp

Version History

new 0.0.2 Mar 10, 2026