Displaying 2 results from an estimated 2 matches for "2005hourly".
Did you mean:
00_hourly
2018 Jan 22
2
Manipulating two large dataset differing by date and time
...05 01 02 8589 (year, month, day and count)
The sample data is attached as 2005daily.txt.
I would like to adapt the code to handle data of the form:
05 01 01 00 4009 (year, month, day, hour and count)
05 01 01 01 3969 (year, month, day, hour and count)
The sample is also attached as 2005hourly.txt.
Thank you very much for your kind inputs.
Ogbos
data <- read.table("2005daily.txt", col.names = c("year", "month", "day",
"counts"))
new.century <- data$year < 50
data$year <- ifelse(new.century, data$year + 2000, data$year...
2018 Jan 22
0
Manipulating two large dataset differing by date and time
...th, day and count)
> The sample data is attached as 2005daily.txt.
>
> I would like to adapt the code to handle data of the form:
> 05 01 01 00 4009 (year, month, day, hour and count)
> 05 01 01 01 3969 (year, month, day, hour and count)
>
> The sample is also attached as 2005hourly.txt.
>
> Thank you very much for your kind inputs.
>
> Ogbos
>
>
>
>
> data <- read.table("2005daily.txt", col.names = c("year", "month", "day",
> "counts"))
>
> new.century <- data$year < 50
>
> da...