Learn R Programming

geoknife (version 1.6.11)

times: 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 method for webdata times(.Object) <- value

# S4 method for webdata times(.Object)

Arguments

.Object

a webdata object

value

a POSIXct vector

Examples

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

Run the code above in your browser using DataLab