weight.plot {BayesGWQS}R Documentation

Generates Plots of weights by group

Description

This function takes the object created by the bgwqs.fit function and a vector of group names and generates a random forest variable importance plot for each group. The weights in each group are listed in descending order.

Usage

weight.plot(fit.object, group.names, group.list, x.s)

Arguments

fit.object

The object that is returned by the bgwqs.fit function

group.names

A string vector containing the name of each group included in the BGWQS regression. Will be used for plot titles.

group.list

A list, each item in the list being a string vector of variable names for one component group.

x.s

A vector of the number of components in each index.

Value

A plot for each group of the BGWQS regression


[Package BayesGWQS version 0.1.1 Index]