Learn R Programming

lmDiallel

Overview

This package contains several functions to fit diallel models in R by using general purpose functions for linear model fitting, such as 'lm()' and 'sommer()'. Convenient wrappers are provided for the ease of users.

Installation

# You can install the stable version from CRAN
# install.packages("lmDiallel")
# You can install the development version of lmDiallel from GitHub
# install.packages("devtools")
# devtools::install_github("onofriAndreaPG/lmDiallel")

Copy Link

Version

Install

install.packages('lmDiallel')

Monthly Downloads

221

Version

1.0.2

License

GPL (>= 2)

Maintainer

Andrea Onofri

Last Published

November 25th, 2025

Functions in lmDiallel (1.0.2)

zhang05

Data for diallel analysis from Zhang (2005)
hayman54

Hayman dataset for diallel analysis
blockMatrixDiagonal

Creates block diagonal matrix. It is used internally.
lm.diallel

Fitting diallel linear models
lmDiallel-methods

Methods for diallel model fitting
lonnquist61

Half diallel of maize dataset
tSCA

Total Specific Combining Ability
model.matrixDiallel

Incidence matrices for Diallel model parametrisation
diallelMod-methods

Functions to retreive full list of genetical effects
mmer.diallel

Fitting random diallel linear models
diallelMET

Factitious dataset for Diallel analysis
DD

Dominant Deviation effect
GCA

General Combining Ability effect
Hi

Average heterosis effect
RGCA

Reciprocal General Combining Ability
RSCA

Reciprocal Specific Combining Ability
MDD

Mean Dominance Deviation effect
VEi

Variety Effect
matBlock

Design matrix for blocks
SCA

Specific Combining Ability
int.matrix

Utilities for fitting diallel models.
expand.diallel

Create a Data Frame from All Combinations of Parentals
REC

Reciprocal Effect not parted into RGCA and RSCA
griffing56

Griffing's dataset for diallel analysis
GCAC

General Combining Ability without considering the selfed parents
SP

Selfed Parents effect
H.BAR

Average heterosis effect