ypr_update {ypr} | R Documentation |
Update a YPR Object Currently just works with scalar parameters for populations and ecotypes.
Description
Update a YPR Object Currently just works with scalar parameters for populations and ecotypes.
Usage
ypr_update(x, ...)
## S3 method for class 'ypr_population'
ypr_update(x, ...)
## S3 method for class 'ypr_populations'
ypr_update(x, ...)
## S3 method for class 'ypr_ecotypes'
ypr_update(x, ...)
Arguments
x |
A population, populations or ecotypes object to update. |
... |
One or more parameter values from |
Methods (by class)
-
ypr_update(ypr_population)
: Update Population Parameters -
ypr_update(ypr_populations)
: Update Populations Parameters -
ypr_update(ypr_ecotypes)
: Update Populations Parameters
Examples
ypr_update(ypr_population(), Rk = 2.5)
ypr_update(ypr_populations(Rk = c(2.5, 4)), Rk = 2.5)
ypr_update(ypr_ecotypes(Linf = c(2.5, 4)), k = 1.5)
[Package ypr version 0.6.0 Index]