plot.BranchGLMCIs: Plot Method for BranchGLMCIs Objects

View source: R/BranchGLMCIs.R

plot.BranchGLMCIsR Documentation

Plot Method for BranchGLMCIs Objects

Description

Plot Method for BranchGLMCIs Objects

Usage

## S3 method for class 'BranchGLMCIs'
plot(x, which = "all", mary = 5, ...)

Arguments

x

a BranchGLMCIs object.

which

which intervals to plot, can use indices or names of desired variables.

mary

value used to determine how large to make margin of y-axis. If variable names are cut-off, consider increasing this from the default value of 5.

...

further arguments passed to plotCI function.

Value

This only produces a plot, nothing is returned.

Examples

Data <- iris
### Fitting linear regression model
mymodel <- BranchGLM(Sepal.Length ~ ., data = Data, family = "gaussian", link = "identity")

### Getting confidence intervals
CIs <- confint(mymodel, level = 0.95)
CIs

### Plotting CIs
plot(CIs, mary = 7, cex.y = 0.9)


BranchGLM documentation built on Aug. 31, 2023, 5:17 p.m.