Learn R Programming

statgenGxE (version 1.0.10)

createVarComp: S3 class varComp

Description

Function for creating objects of S3 class varComp.
print, summary, and plot methods are available.

Usage

createVarComp(
  fitMod,
  modDat,
  trait,
  nestingFactor,
  useLocYear,
  useRegionLocYear,
  fullRandVC,
  aovFullFixedMod,
  engine,
  confoundVars,
  diagTabs
)

Arguments

fitMod

A fitted variance components model.

modDat

A data.frame containing the data used in fitting the model.