Learn R Programming

relaimpo (version 2.2-7)

relimplm-class: Class relimplm

Description

This is the class of output objects from the function calc.relimp in package relaimpo. Its elements are described in the documentation of calc.relimp.

Arguments

Objects from the Class

Objects should only be created by calls to the function calc.relimp.

Slots

var.y:

Object of class "numeric"

R2:

Object of class "numeric"

R2.decomp:

Object of class "numeric"

lmg:

Object of class "numeric"

pmvd:

Object of class "numeric"

first:

Object of class "numeric"

last:

Object of class "numeric"

betasq:

Object of class "numeric"

pratt:

Object of class "numeric"

genizi:

Object of class "numeric"

car:

Object of class "numeric"

lmg.rank:

Object of class "numeric"

pmvd.rank:

Object of class "numeric"

first.rank:

Object of class "numeric"

last.rank:

Object of class "numeric"

betasq.rank:

Object of class "numeric"

pratt.rank:

Object of class "numeric"

genizi.rank:

Object of class "numeric"

car.rank:

Object of class "numeric"

lmg.diff:

Object of class "numeric"

pmvd.diff:

Object of class "numeric"

first.diff:

Object of class "numeric"

last.diff:

Object of class "numeric"

betasq.diff:

Object of class "numeric"

pratt.diff:

Object of class "numeric"

genizi.diff:

Object of class "numeric"

car.diff:

Object of class "numeric"

namen:

Object of class "character": variable names, starting with name for response

nobs:

Object of class "numeric": number of valid observations used in analysis (available only if calculations are based on raw data)

ave.coeffs:

Object of class "matrix": average coefficients for models of different sizes

type:

Object of class "character": metrics that have been calculated

rela:

Object of class "logical": TRUE means that metrics have been normalized to sum 100pct

always:

Object of class "numintnull": variables always in the model (adjusted for), in terms of columns in the model matrix (i.e. in case of factors in the model, there are more entries than in the call to function calc.relimp; first possible column is 2 (1 reserved for response))

alwaysnam:

Object of class "charnull": variable names of variables always in model

groupdocu:

Object of class "list": information on group definitions

call:

Object of class "langnull": the call that created the object

Methods

This documentation section documents S4 methods only. There are also S3-methods for printing, plotting and extracting slots with $. For their usage, see classesmethods.relaimpo.

coerce

S4-method: If an object of this class is coerced to list by as(object, "list"), the slots are output to the list in the following order: var.y, R2, lmg, lmg.rank, lmg.diff, next three in non-US version only: pmvd, pmvd.rank, pmvd.diff, last, last.rank, last.diff, ..., pratt, pratt.rank, pratt.diff, namen, type, rela, always, alwaysnam

% \item{print}{S3-method: meaningful printout of object, see \code{\link{print.relimplm}} }

show

S4-method: identical to print

% \item{plot}{S3-method: barplots of percentages, see \code{\link{plot.relimplm}}} % \item{\code{$}}{S3 method: extracts slots with \code{$} extractor }

Author

Ulrike Groemping, BHT Berlin

See Also

calc.relimp, print.relimplm, plot.relimplm, relaimpo