Genotypic Path Analysis
geno.path(dependent.var, independent.var, genotypes, replication)
trait to be used a dependent variable
traits to be used as an indpendent variables
vector containing genotpes
vector containing replications
Direct effects, indirect effects and residual
# NOT RUN {
data(vardata)
# Grain yield is considered as a dependent variable
geno.path(vardata[11],vardata[3:10],vardata$Genotypes,vardata$Replication)
# }
Run the code above in your browser using DataLab