Learn R Programming

AgroR (version 1.3.6)

plot_interaction: Graph: Interaction plot

Description

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

Usage

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

Value

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

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.

Author

Gabriel Danilo Shimizu, shimizu@uel.br

Leandro Simoes Azeredo Goncalves

Rodrigo Yudi Palhaci Marubayashi

Examples

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

Run the code above in your browser using DataLab