Checks if an ypr_ecotypes object with valid parameter values.
check_ecotypes(x, x_name = NULL)
The object to check.
A string of the name of object x or NULL.
An informative error if the test fails or an invisible copy of x.
Other check:
check_populations()
,
check_population()
check_ecotypes(ypr_ecotypes())