counts: Access proxy count data

countsR Documentation

Access proxy count data

Description

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

Usage

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

## 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)

ropensci/neotoma documentation built on Dec. 6, 2022, 6:26 p.m.