check_population: Check Population

View source: R/check.R

check_populationR Documentation

Check Population

Description

Checks if an ypr_population object with valid parameter values.

Usage

check_population(x, x_name = NULL)

Arguments

x

The object to check.

x_name

A string of the name of object x or NULL.

Value

An informative error if the test fails or an invisible copy of x.

See Also

Other check: check_ecotypes(), check_populations()

Examples

check_population(ypr_population())

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