Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
dimfalk committed Jan 3, 2025
1 parent 2fecc55 commit 22e04f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ attributes(obs_10min[["TT_10"]])[5:22]

Other than that, you can now just leverage all the sweet xts functionality:

```{r}
```{r, warning = FALSE}
library(xts)
# subsetting
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,6 @@ library(xts)
# subsetting
x <- obs_10min[["TT_10"]]["2022"]
x
#> Warning: object timezone ('UTC') is different from system timezone ('')
#> NOTE: set 'options(xts_check_TZ = FALSE)' to disable this warning
#> This note is displayed once per session
#> TT_10
#> 2022-01-01 00:00:00 9.2
#> 2022-01-01 00:10:00 9.2
Expand All @@ -178,7 +175,6 @@ x

# aggregating
xts::apply.monthly(x, "mean", na.rm = TRUE) |> round(1)
#> Warning: object timezone ('UTC') is different from system timezone ('')
#> TT_10
#> 2022-01-31 23:50:00 0.5
#> 2022-02-28 23:50:00 1.8
Expand Down

0 comments on commit 22e04f5

Please sign in to comment.