Description Usage Arguments Value Functions Examples
Plots of model summaries
1 2 3 4 5 6 7 8 | plotAnovaStats(fit0, barcols = NULL, preds = NULL, alpha = 0.05,
type = "SS", width = 0.3)
plottStats(fit0, barcols = NULL, preds = NULL, alpha = 0.05,
width = 0.3)
plotCIStats(fit0, barcols = NULL, preds = NULL, alpha = 0.05,
stdunits = FALSE, width = 0.3)
|
fit0 |
is an lm object |
barcols |
a vector of colours, one per term in lm |
preds |
terms to include in plot |
alpha |
significance level |
type |
"SS" or "F", from type 3 Anova |
width |
bar width |
stdunits |
TRUE or FALSE. If TRUE, coefficients refer to standardised predictor units. |
a ggplot
plotAnovaStats
: Plots barchart of F or SS from lm
plottStats
: Plots barchart of t stats from lm
plotCIStats
: Plots confidence intervals from lm
1 2 3 | plotAnovaStats(lm(mpg ~ wt+hp+disp, data=mtcars))
plottStats(lm(mpg ~ wt+hp+disp, data=mtcars))
plotCIStats(lm(mpg ~ wt+hp+disp, data=mtcars))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.