breedr_effect: Constructor for a generic breedR effect

View source: R/breedr_effect.R

breedr_effectR Documentation

Constructor for a generic breedR effect

Description

The breedr_effect-class is virtual. No object should be directly created with this constructor. This constructor is to be called from within non-virtual subclasses like generic, diagonal, spatial or additive_genetic.

Usage

breedr_effect(incidence)

## S3 method for class 'breedr_effect'
dim(x)

Arguments

incidence

matrix-like object

x

A breedr_effect.

Details

This constructor performs the arguments checks. But the implementation details (i.e., storage format and handling) is left for the subclasses.

Value

A list with a single element incidence.matrix.


famuvie/breedR documentation built on Aug. 6, 2024, 9:10 p.m.