ltcmt: Analysing Line x Tester data containing only crosses for multiple traits."

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.

Example: Analyzing Line x Tester data (crosses) laid out in 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

Example: Analyzing Line x Tester data (crosses) laid out in RCBD.

# 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


Try the gpbStat package in your browser

Any scripts or data that you put into this service are public.

gpbStat documentation built on Nov. 2, 2023, 5:52 p.m.