plot.BranchGLMCIs {BranchGLM} | R Documentation |
Plot Method for BranchGLMCIs Objects
## S3 method for class 'BranchGLMCIs'
plot(x, which = "all", mary = 5, ...)
x |
a |
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. |
This only produces a plot, nothing is returned.
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)