Skip to contents

A bar split into the share of the total sum of squares taken by every source of the analysis of variance, including the error strata and the residual.

Usage

plot_ss_partition(fit, col = NULL, main = NULL)

Arguments

fit

An "ad_anova" object from design_anova().

col

Colours of the sources.

main

Title.

Value

Invisibly, a data frame with the sum of squares and percentage of every source.

Examples

fit <- design_anova(split_irrigation, "Yield_t_ha", c("Irrigation", "Variety"),
                    block = "Block", design = "split_rcbd")
plot_ss_partition(fit)