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 ypr_population().

Methods (by class)

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]