gg_biplot: gg_biplot

Description Usage Arguments Examples

Description

Creates a modified biplot. The modification is re-sizing dots by trait value.

Usage

1
gg_biplot(model, add_labels = TRUE, distance = 0.5, ranges = NULL)

Arguments

model

a model as from the agricolae function AMMI

add_labels

whether the biplot should show labels (more time consuming)

distance

the relative distance at which to draw the circle, default: 0.5

ranges

give xlim and ylim ranges in plot units; default is NULL. Allows re- sizing.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Get sample data
library(agricolae)
data(plrv)

library(fbmet)

model<- with(plrv, AMMI(Locality, Genotype, Rep, Yield, console=FALSE))

if(interactive()){
  gg_biplot(model)
}

c5sire/fbmet documentation built on May 13, 2019, 10:34 a.m.