Skip to content

Commit

Permalink
Update Viejas vignette
Browse files Browse the repository at this point in the history
  • Loading branch information
retostauffer committed Aug 9, 2019
1 parent b3381d8 commit 6c99d70
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 17 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
as binary time series objects (`.rda`; `zoo`).
* Remove xlim and ylim from image and make it, as for zlim, an optional
argument documented in the 'Details' section.
* A Tyrolean and a Californian demo vignette?
* A Tyrolean and a Californian demo vignette? - draft added.

# foehnix 0.1-2 (August 2019; development stage)

Expand Down
20 changes: 11 additions & 9 deletions docs/articles/viejas.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified docs/articles/viejas_files/figure-html/unnamed-chunk-4-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 8 additions & 7 deletions vignettes/viejas.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,20 @@ The Californian demo data set has non-standard variable names (by purpose).
Thus, when calling `tsplot` (time series plot) we do have to manually specify
these names.

```{r, fig = TRUE, fig.width = 12, fig.height = 8}
```{r, fig = TRUE, fig.width = 12, fig.height = 15}
# Some smaller quality issues in the data (should not be a big deal)
start <- as.POSIXct("2012-01-01")
end <- as.POSIXct("2012-01-15")
start <- as.POSIXct("2012-03-01")
end <- as.POSIXct("2012-03-12")
# As we dont have the standard names: re-specify the
# names for this plot (new feature).
tsplot(mod, style = "advanced", diff_t = "diff_temp",
t = "air_temp", crest_t = "crest_air_temp",
dd = "wind_dir", crest_dd = "crest_wind_dir",
ff = "wind_speed", crest_ff = "crest_wind_speed",
ffx = "wind_gust", crest_ffx = "crest_wind_gust",
t = "air_temp", crest_t = "crest_air_temp",
dd = "wind_direction", crest_dd = "crest_wind_direction",
ff = "wind_speed", crest_ff = "crest_wind_speed",
ffx = "wind_gust", crest_ffx = "crest_wind_gust",
rh = "relative_humidity",
windsector = list(wind_direction = c(305, 160)),
start = start, end = end)
```

Expand Down

0 comments on commit 6c99d70

Please sign in to comment.