dm2 : Diallel Method 2 analysis for RCBD and Alpha Lattice"

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Function dm2 conducts Diallel Method 2 analysis for RCBD and Alpha Lattice design.

Example 1: Diallel Method 2 analysis for RCBD design.

# Load the package
library(gpbStat)

#Load the dataset
data(dm2rcbd)

# View the structure of dataframe. 
str(dm2rcbd)

# Conduct Line x Tester analysis
result = dm2(dm2rcbd, rep, parent1, parent2, DTP)

# View the output
result

Example 2: Diallel Method 2 analysis for Alpha Lattice design.

# Load the package
library(gpbStat)

#Load the dataset
data(dm2alpha)

# View the structure of dataframe. 
str(dm2alpha)

# Conduct Diallel Analysis
result1 = dm2(dm2alpha, replication, parent1, parent2, TW, block)

# 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 Oct. 30, 2021, 5:07 p.m.