R/basic.time.R

Defines functions basic.time

Documented in basic.time

#' @rdname gfcmSTAR-internal
#'
#' @export

## Convert time to POSIXct that is truncated to seconds and has no time zone

basic.time <- function(x)
{
  x <- as.POSIXct(as.character(x))
  attr(x, "tzone") <- NULL
  x
}
gfcm/gfcmSTAR documentation built on Feb. 5, 2022, 2:14 p.m.