Nest trials by trait
nestTrialsByTrait(indata, traits)character vec, names of traits to include
NOTICE: This function is part of a family of functions ("cassavabase_pheno_pipeline") developed as part of the NextGen Cassava Breeding Project genomic selection pipeline.
For some examples of their useage:
Other cassavabase_pheno_pipeline:
calcPropMissing(),
curateTrialOneTrait(),
curateTrialsByTrait(),
detectExptDesigns(),
fitMultiTrialModel(),
makeTrialTypeVar(),
nestByTrials(),
nestDesignsDetectedByTraits(),
nestForMultiTrialAnalysis(),
readDBdata(),
renameAndSelectCols()