select.data | R Documentation |
Select sites from a CES data object, either from a ist of specified sites or habitat.
select.data(x, sites = 0, habitat = "")
x |
A CES data object, typically generated by |
sites |
A vector of site codes |
habitat |
Two-letter code identifying habitat required. Generally the available codes are 'RB' Reedbed, 'WS' Wet Scrub, 'DS' Dry/Thorn Scrub and 'WD' Woodland but certain countries may have other scheme-specific codes |
An easy way of subsetting a CES data object to select particular sites. Experienced users may prefer to do this directly.
A ces data object
Rob Robinson
readces
data(ukdata)
sitelist = c(401, 403, 405, 407, 408, 414, 417, 447, 463) # select sites with complete data
complete = select.data(ukdata, sites=sitelist)
scrub = select.data(ukdata, habitat='DS')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.