Learn R Programming

ypr (version 0.6.0)

as_ypr_populations: Coerce to a Populations Object

Description

Coerce to a Populations Object

Usage

as_ypr_populations(x, ...)

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

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

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

Value

An object of class ypr_ecotypes.

Arguments

x

The object to coerce.

...

Unused.

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

Run this code
as_ypr_populations(ypr_population())
as_ypr_populations(ypr_populations())
as_ypr_populations(ypr_ecotypes())

Run the code above in your browser using DataLab