temp.agg.daily: Calculate Temperature Statistics by Day

Description Usage Arguments Author(s) Examples

View source: R/DailyStats.R

Description

Calculate various statistics from iButton datasets, by day.

Usage

1
temp.agg.daily(dataname, stat)

Arguments

dataname

Name of time-series data, generally a set of iButton data files imported through ReadiButtonFolder

stat

Desired statistic to be calcualted as a daily aggregate. Can be any of the following: "var", "mean", "max", "min", "sd", or in format of: "function(x) var(x)"

Author(s)

Mike Treglia [email protected]

Examples

1
2
3
4
5
6
7
8
    packagePath <- find.package("iButtonDataOrganizer", lib.loc=NULL, quiet = TRUE)
    pathToFolder <- paste(packagePath, "/extdata/iButtonData_JulOct2014_2hr", sep="")

    JulOct2014 <- ReadiButtonFolder(path=pathToFolder, rounding="2hrs",
     StartDate="2014-07-26", EndDate="2014-10-31")

    #Calculate the Daily Variance for each logger from which the data were imported
    JulOct2014.DailyVar <- temp.agg.daily(JulOct2014, var)

mltConsEcol/iButtonDataOrganizer documentation built on May 22, 2017, 10:53 a.m.