as_ypr_populations: Coerce to a Populations Object

View source: R/as-ypr-populations.R

as_ypr_populationsR Documentation

Coerce to a Populations Object

Description

Coerce to a Populations Object

Usage

as_ypr_populations(x, ...)

## S3 method for class 'ypr_population'
as_ypr_populations(x, ...)

## S3 method for class 'ypr_populations'
as_ypr_populations(x, ...)

## S3 method for class 'ypr_ecotypes'
as_ypr_populations(x, ...)

Arguments

x

The object to coerce.

...

Unused.

Value

An object of class ypr_ecotypes.

Methods (by class)

  • as_ypr_populations(ypr_population): Coerce a Population Object to an Population Object

  • as_ypr_populations(ypr_populations): Coerce a Populations Object of length 1 to a Population Object

  • as_ypr_populations(ypr_ecotypes): Coerce a Ecotypes Object of length 1 to a Population Object

See Also

Other populations: chilliwack_bt_05, ypr_plot_yield(), ypr_populations_expand(), ypr_populations(), ypr_tabulate_sr(), ypr_tabulate_yields(), ypr_tabulate_yield()

Examples

as_ypr_populations(ypr_population())
as_ypr_populations(ypr_populations())
as_ypr_populations(ypr_ecotypes())

ypr documentation built on Aug. 30, 2022, 1:11 a.m.