counts | R Documentation |
Extract pollen or other proxy counts from data objects and returns them in a useful format.
counts(obj, ...) ## S3 method for class 'download' counts(obj, ...) ## S3 method for class 'download_list' counts(obj, ...)
obj |
an R object from which counts are to be extracted. |
... |
arguments passed to other methods. |
Methods are available for "download" and "download_list" objects.
Either a data frame of counts or a list of such objects.
Gavin Simpson
## Not run: marion <- get_site('Marion Lake%') louise <- get_site('Louise Pond%') western.sites <- rbind(marion, louise) western.data <- get_dataset(western.sites) western.dl <- get_download(western.data) western.cnt <- counts(western.dl) sapply(western.cnt, dim) marion.cnt<- counts(western.dl[[1]]) dim(marion.cnt) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.