ret_time: ret_time

Description Usage Arguments Value Examples

View source: R/ret_time.R

Description

Return time vectors from a dataframe containing an as.Date object

Usage

1

Arguments

x

a dataframe containing a as.Date object named as "date"

Value

a dataframe containing the time vectors (year, month...)

Examples

1
2
3
4
5
6
7
## Not run: 
  date <- seq(as.Date("2000/1/1"), as.Date("2001/1/1"),length.out=10)
   value <- c(seq(1,10,1))
   df <- data.frame(date,value)
   ret_time(df)

## End(Not run)

ldbk/Rplanktonanalytic documentation built on June 29, 2021, 9:23 p.m.