Learn R Programming

R2GUESS (version 2.0)

plotvariable: Visualisation of the best models

Description

The plotvariable function provides a plot indicating the variables included in each of the best models.

Usage

plotvariable(x, threshold.model = 0.05, file.annotation = NULL)

Arguments

x

an object of class ESS.

threshold.model

either an integer representing the number of model to be retained in the list of best models, or a value defining the minimal model posterior probability.

file.annotation

text file containing the name of the predictors. This file is optional if a MAP.file has been specified.

Value

A list of predictors included in the best models.

Examples

Run this code
# NOT RUN {
# load an ESS object
modelY_Hopx <- example.as.ESS.object()
plotvariable(modelY_Hopx,20)
# }

Run the code above in your browser using DataLab