times-webdata: the times of an webdata object

timesR Documentation

the times of an webdata object

Description

Functions to get or set the times of a webdata object

Usage

times(.Object)

times(.Object) <- value

## S4 replacement method for signature 'webdata'
times(.Object) <- value

## S4 method for signature 'webdata'
times(.Object)

Arguments

.Object

a webdata object

value

a POSIXct vector

Examples

wd <- webdata('prism')
times(wd) <- as.POSIXct(c("2012-11-04", "2012-11-12"))
times(wd)[1] <- as.POSIXct("2012-11-04")
times(wd)

USGS-R/geoknife documentation built on April 17, 2023, 8:26 p.m.