plot_interaction: Graph: Interaction plot

View source: R/plot_interaction_function.R

plot_interactionR Documentation

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
)

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.

Value

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

Author(s)

Gabriel Danilo Shimizu, shimizu@uel.br

Leandro Simoes Azeredo Goncalves

Rodrigo Yudi Palhaci Marubayashi

Examples

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

AgroR documentation built on Sept. 14, 2023, 1:09 a.m.