plot.BranchGLMCIs {BranchGLM}R Documentation

Plot Method for BranchGLMCIs Objects

Description

Creates a plot to visualize confidence intervals from 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 a numeric vector of indices, a character vector of names of desired variables, or "all" to plot all intervals.

mary

a numeric 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.

Value

This only produces a plot, nothing is returned.

See Also

plotCI

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)


[Package BranchGLM version 2.1.5 Index]