Description Usage Arguments Value Examples
Replace time data in a data.frame by new time
1 2 | set_eurocordex_faketime(data, fakeTime, col_time = "time",
col_time_posix = "time_posix", fakeLength = TRUE)
|
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 |
data.frame: with 'corrected' time axies
1 | # see example in README
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.