sumSamp: Summarize Samples

View source: R/sumSamp.R

sumSampR Documentation

Summarize Samples

Description

Produce a summary of sample data by station in a dataset.

Usage

sumSamp(data, DATES = "DATES", STAID = "STAID", by.numeric = TRUE)

Arguments

data

the dataset to summarize.

DATES

the name of the column containing the sample dates.

STAID

the name of the column containing the station identifiers.

by.numeric

compute summaries for each numeric column in data?

Value

A data frame contining the starting and ending dates of the samples and the number of samples by station identifier if by.numeric is FALSE. If by.numeric is TRUE, then the returned data are by station and numeric column (Reponse) and an indicator of censoring is included.

Examples

# do something here

USGS-R/restrend documentation built on Oct. 11, 2022, 6:10 a.m.