Mean to mimic a in silico Trait. It is the working instances of the simulator.
Objects of R6 class with methods to mimic in silico Traits.
.ptr
External pointer to the instance of the C++ class Specie.
new()
Create an instance of a Trait.
.R_Trait_ctor$new(ptr)
ptr
an Smart pointer to an instance of a Trait C++ class.
A new `Trait` object.
...
further arguments to be passed to print.
alpha()
Evaluates the breeding value.
.R_Trait_ctor$alpha(gid)
gid
an instance of the class Specimen.
the breeding value of the given specimen for the trait.
clone()
The objects of this class are cloneable with this method.
.R_Trait_ctor$clone(deep = FALSE)
deep
Whether to make a deep clone.
Object of R6 class that points to C++ objetcs.