Learn R Programming

regRSM (version 0.2)

ImpPlot.regRSM: Variable importance plot from 'regRSM' object.

Description

This function produces a dot plot showing final scores from RSM procedure.

Usage

## S3 method for class 'regRSM':
ImpPlot(object)

Arguments

object
Fitted 'regRSM' model object.

Details

This function produces a dot plot showing final scores from RSM procedure. Final scores describe importances of explanatory variables.

Examples

Run this code
p=100
n=100
beta1 = numeric(p)
beta1[c(1,5,10)]=c(1,1,1)  
x = matrix(0,ncol=p,nrow=n)
for(j in 1:p){ 
    x[,j]=rnorm(n,0,1)
}
y = x %*% beta1 + rnorm(n)

p1=regRSM(y,x)
ImpPlot(p1)

Run the code above in your browser using DataLab