View source: R/tile_functions.R
check_strata | R Documentation |
This function is used by get_stratum_counts
. It checks that:
The object is a data frame with (at least) three columns labelled: label, lowerht, upperht. Column order and case of names does not matter.
All stratum upper heights are greater than lower heights.
No two strata overlap (gaps between strata are permitted).
An error results if any of these conditions are not met.
check_strata(strata)
strata |
A data frame of strata definitions. |
A data frame in standard form with (at least) columns: label, lowerht, upperht, and rows ordered by ascending stratum heights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.