stab_dist: Stability Distance in AMMI

Description Usage Arguments Value Author(s) Examples

View source: R/stab_dist.R

Description

Stability Distance of Genotypes in Additive ANOVA for Genotypes by Environment Interaction (GEI) model

Usage

1
2
3
4
stab_dist(.data, .y, .rep, .gen, .env, .m = 2)

## Default S3 method:
stab_dist(.data, .y, .rep, .gen, .env, .m = 2)

Arguments

.data

data.frame

.y

Response Variable

.rep

Replication Factor

.gen

Genotypes Factor

.env

Environment Factor

.m

No of PCs retained

Value

Stability Distance

Author(s)

  1. Muhammad Yaseen (myaseen208@gmail.com)

  2. Kent M. Edkridge (keskridge1@unl.edu)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data(ge_data)
YieldDist <-
     stab_dist(
            .data = ge_data
          , .y    = Yield
          , .rep  = Rep
          , .gen  = Gen
          , .env  = Env
          , .m    = 2
      )
YieldDist

stability documentation built on May 2, 2019, 4:18 a.m.