View source: R/plot_anova_sst.R
plot_anova_sst | R Documentation |
Create a graphical representation of the total sum of squares in an ANOVA style analysis.
plot_anova_sst( dat = NULL, seg_col = gray(0.75), seg_lwd = 1, group_mean_col = "black", group_mean_lwd = 2, grand_mean_col = "black", grand_mean_lwd = 2, show_label = TRUE, label_fmt = "SST = %0.1f", label_cex = 1.3, digits = 1, pt_cex = 1.5, pt_lwd = 0.5, pch_1 = 16, pch_2 = 1, seed = 12345, ... )
dat |
data for which to draw. If null, data with 3 groups will be generated |
seg_col |
color for the vertical line segments |
seg_lwd |
= width for vertical line segments |
group_mean_col |
line color for the vertical lines |
group_mean_lwd |
line width for the group mean colors |
grand_mean_col |
color for grand mean horizontal line |
grand_mean_lwd |
line width for the grand mean horizontal line |
show_label |
whether or not to print the SS quantity |
label_fmt |
The text format for the sum of squares label (if ) |
digits |
how many digits to round the SS to? |
pt_cex |
size of the points |
pch_1 |
plotting character for main point |
pch_2 |
plotting character for border point |
seed |
random seed to be used if dat is NULL |
a data.table with columns for TODO
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.