influence: Compute variable influence (influence) scores from 'mvtboost'...

Description Usage Arguments Methods (by class)

View source: R/influence.R

Description

Compute variable influence (influence) scores from mvtboost models.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
influence(model, n.trees = NULL, relative = TRUE, sort = TRUE, ...)

## S3 method for class 'mvtb'
influence(model, n.trees = NULL, relative = "col",
  sort = FALSE, ...)

## S3 method for class 'twostage'
influence(model, n.trees = NULL, relative = TRUE,
  sort = FALSE, ...)

## S3 method for class 'metb'
influence(model, n.trees = NULL, relative = TRUE,
  sort = FALSE, ...)

## S3 method for class 'pcb'
influence(model, n.trees = NULL, relative = "col",
  sort = FALSE, ...)

Arguments

model

object from mvtb, metb, pcb, twostage

n.trees

number of trees to use. Defaults to the minimum number of trees by CV, test, or training error for each outcome.

relative

How to scale the multivariate influences. If "col", each column sums to 100. If "tot", the whole matrix sums to 100 (a percent). Otherwise, the raw reductions in SSE are returned.

sort

whether or not results should be (reverse) sorted. Defaults to FALSE.

...

not used

Methods (by class)


patr1ckm/mvtboost documentation built on May 24, 2019, 8:21 p.m.