Learn R Programming

stability (version 0.6.0)

stab_dist: Stability Distance in AMMI

Description

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

Usage

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

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

Value

Stability Distance

Arguments

.data

data.frame

.y

Response Variable

.rep

Replication Factor

.gen

Genotypes Factor

.env

Environment Factor

.m

No of PCs retained

Author

  1. Muhammad Yaseen (myaseen208@gmail.com)

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

Examples

Run this code
data(ge_data)
YieldDist <-
     stab_dist(
            .data = ge_data
          , .y    = Yield
          , .rep  = Rep
          , .gen  = Gen
          , .env  = Env
          , .m    = 2
      )
YieldDist

Run the code above in your browser using DataLab