counts: Access proxy count data

Description Usage Arguments Details Value Author(s) Examples

Description

Extract pollen or other proxy counts from data objects and returns them in a useful format.

Usage

1
2
3
4
5
6
7
counts(obj, ...)

## S3 method for class 'download'
counts(obj, ...)

## S3 method for class 'download_list'
counts(obj, ...)

Arguments

obj

an R object from which counts are to be extracted.

...

arguments passed to other methods.

Details

Methods are available for "download" and "download_list" objects.

Value

Either a data frame of counts or a list of such objects.

Author(s)

Gavin Simpson

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## 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)

neotoma documentation built on May 2, 2019, 1:10 p.m.