Trait | R Documentation |
Mean to mimic a in silico Trait. It is the working instances of the simulator.
Object of R6 class that points to C++ objetcs.
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.
print()
Print/Show an instance of the Trait class.
.R_Trait_ctor$print(...)
...
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.