maxDistSites: returns a vector of siteID's of sites with the most data for...

View source: R/maxDistSites.R

maxDistSitesR Documentation

returns a vector of siteID's of sites with the most data for the specified time period for specific chemicals or pH

Description

returns a vector of siteID's of sites with the most data for the specified time period for specific chemicals or pH

Usage

maxDistSites(startdateStr, enddateStr, maxn, mins, comp, startingSite)

Arguments

startdateStr

String, when to start analyzing data, format = "m/d/y H:M"

enddateStr

String, when to stop analyzing data, format = "m/d/y H:M"

maxn

Number of sites required

mins

Minimum number of data required for each site

comp

Vector of strings, strings of compounds

startingSite

Integer, largest sample index of initial site to include

Value

Returns list of sites that have the largest amount of data for the given dates and pollutants

Examples

maxDistSites("01/01/83 00:00","12/31/86 00:00",50,100,"SO4",1)

hessakh/MESgenCov documentation built on Feb. 3, 2023, 1:09 a.m.