plot_interaction function

Graph: Interaction plot

Graph: Interaction plot

Performs an interaction graph from an output of the FAT2DIC, FAT2DBC, PSUBDIC or PSUBDBC commands.

plot_interaction( a, box_label = TRUE, repel = FALSE, pointsize = 3, linesize = 0.8, width.bar = 0.05, add.errorbar = TRUE )

Arguments

  • a: FAT2DIC, FAT2DBC, PSUBDIC or PSUBDBC object
  • box_label: Add box in label
  • repel: a boolean, whether to use ggrepel to avoid overplotting text labels or not.
  • pointsize: Point size
  • linesize: Line size (Trendline and Error Bar)
  • width.bar: width of the error bars.
  • add.errorbar: Add error bars.

Returns

Returns an interaction graph with averages and letters from the multiple comparison test

Examples

data(cloro) a=with(cloro, FAT2DIC(f1, f2, resp)) plot_interaction(a)

Author(s)

Gabriel Danilo Shimizu, shimizu@uel.br

Leandro Simoes Azeredo Goncalves

Rodrigo Yudi Palhaci Marubayashi