knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
The function ltcmt
conducts Line x Tester analysis for multiple traits when the data contains only crosses. The experimental design may be RCBD or Alpha lattice design.
# Load the package library(gpbStat) #Load the dataset data("alphaltcmt") # View the structure of dataframe. str(alphaltcmt) # Conduct Line x Tester analysis result = ltcmt(alphaltcmt, replication, line, tester, alphaltcmt[,5:7], block) # View the output result
# Load the package library(gpbStat) #Load the dataset data("rcbdltcmt") # View the structure of dataframe. str(rcbdltc) # Conduct Line x Tester analysis result1 = ltcmt(rcbdltcmt, replication, line, tester, rcbdltcmt[,4:5]) # View the output result1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.