Learn R Programming

SoyNAM (version 1.0)

Environment: Trait by Environment

Description

Matrix of phenotypes of a given trait for each environment.

Usage

ENV(trait="yield")

Arguments

trait
Character. Trait of interest. The options are: "yield" (grain yield in Kg/ha), "maturity" (days to maturity), "height" (plant height in cm), "lodging" (lodging score from 1 to 5), "protein" (protein percentage in the grain), "oil" (oil percentage in the g

Value

  • Numeric matrix with genotypes as rows and environments as columns.

Examples

Run this code
O = ENV("oil")
O = O[,c(1,3,4,6,13,14)]
pairs(O)

Run the code above in your browser using DataLab