Learn R Programming

neotoma (version 1.6.2)

counts: 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 download counts(obj, ...)

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

Arguments

obj

an R object from which counts are to be extracted.

...

arugments passed to other methods.

Value

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

Details

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

Examples

Run this code

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)

Run the code above in your browser using DataLab