set_eurocordex_faketime: Replace time data in a data.frame by new time

Description Usage Arguments Value Examples

Description

Replace time data in a data.frame by new time

Usage

1
2
set_eurocordex_faketime(data, fakeTime, col_time = "time",
  col_time_posix = "time_posix", fakeLength = TRUE)

Arguments

data

data.frame: contains data and time columns ('time' and 'time_posix'); time_posix column needs to be of type POSIXct

fakeTime

POSIXct-array: contains new times to insert

col_time

character, optional: set alternative name of column 'time'

col_time_posix

character, optional: set alternative name of column 'time_posix'

fakeLength

boolean, optional: if data has less entries than the length of fake time => extend data by repeating entries

Value

data.frame: with 'corrected' time axies

Examples

1
# see example in README

neumannd/eurocordex2swatTools documentation built on May 14, 2019, 2:17 p.m.