Plots of model summaries
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 )
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 )
a ggplot
is an lm object
a vector of colours, one per term in lm
terms to include in plot
significance level
"SS" or "F", from type 3 Anova
bar width
TRUE or FALSE. If TRUE, coefficients refer to standardised predictor units.
plotAnovaStats: Plots barchart of F or SS from lm
plotAnovaStats
plottStats: Plots barchart of t stats from lm
plottStats
plotCIStats: Plots confidence intervals from lm
plotCIStats
plotAnovaStats(lm(mpg ~ wt+hp+disp, data=mtcars)) plottStats(lm(mpg ~ wt+hp+disp, data=mtcars)) plotCIStats(lm(mpg ~ wt+hp+disp, data=mtcars))
Run the code above in your browser using DataCamp Workspace