getBv {SIMplyBee} | R Documentation |
Access breeding values of individuals in a caste
Description
Level 0 function that returns breeding values of individuals in a caste.
Usage
getBv(x, caste = NULL, nInd = NULL, collapse = FALSE, simParamBee = NULL)
getQueenBv(x, collapse = FALSE, simParamBee = NULL)
getFathersBv(x, nInd = NULL, collapse = FALSE, simParamBee = NULL)
getVirginQueensBv(x, nInd = NULL, collapse = FALSE, simParamBee = NULL)
getWorkersBv(x, nInd = NULL, collapse = FALSE, simParamBee = NULL)
getDronesBv(x, nInd = NULL, collapse = FALSE, simParamBee = NULL)
Arguments
x |
|
caste |
NULL or character, NULL when |
nInd |
numeric, number of individuals to access, if |
collapse |
logical, if the return value should be a single matrix with breeding valued of all the individuals |
simParamBee |
|
Value
vector of breeding values when x
is Colony-class
and list of vectors of breeding values when x
is
MultiColony-class
, named by colony id when x
is
MultiColony-class
# Not exporting this function, since the theory behind it is not fully developed
Functions
-
getQueenBv()
: Access breeding value of the queen -
getFathersBv()
: Access breeding values of fathers -
getVirginQueensBv()
: Access breeding values of virgin queens -
getWorkersBv()
: Access breeding values of workers -
getDronesBv()
: Access breeding values of drones
See Also
bv
and
vignette(topic = "QuantitativeGenetics", package = "SIMplyBee")