phencorr: Phenotypic Correlation

Description Usage Arguments Examples

Description

Phenotypic Correlation (as implemented in META-R with error related to missing the reference level fixed )

Usage

1
2
phencorr(genotypes, environments = NULL, outcomes, data, rep,
  block = NULL)

Arguments

genotypes

vector containing genotypes

environments

vector containing environments

outcomes

vector of names of outcome variables to calculate correlation on

data

dataframe containing outcomes

rep

vector containing reps

block

vector containing blocks

Examples

1
2
3
4
5
library(agridat)
data(yacon)
yaconF0<-subset(yacon,dose=="F0")
with(yaconF0,phencorr(genotypes=entry,environments=locality,outcomes=c("height","stalks","wfr","wff","wfk","roots","FOS","glucose",
"fructose","brix","foliage","dry","IH"),data=yaconF0,rep=replication))

sdumble1/PhenGenCorr documentation built on May 4, 2019, 7:38 a.m.