Skip to content

Commit 29ac6b0

Browse files
committed
revise getting started, redocument
1 parent 174a73a commit 29ac6b0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

man/arx_args_list.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/flatline_args_list.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vignettes/epipredict.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ out_gb <- arx_forecaster(jhu, "death_rate", c("case_rate", "death_rate"),
205205

206206
Or quantile regression, using our custom forecasting engine `quantile_reg()`:
207207

208-
```{r xgboost, warning = FALSE}
208+
```{r quantreg, warning = FALSE}
209209
out_gb <- arx_forecaster(jhu, "death_rate", c("case_rate", "death_rate"),
210210
quantile_reg())
211211
```
@@ -362,7 +362,7 @@ To illustrate everything above, here is (roughly) the code for the `flatline_for
362362
r <- epi_recipe(jhu) %>%
363363
step_epi_ahead(case_rate, ahead = 7, skip = TRUE) %>%
364364
update_role(case_rate, new_role = "predictor") %>%
365-
add_role(all_of(epi_keys(jhu)), new_role = "predictor")
365+
my_add_role(all_of(epi_keys(jhu)), new_role = "predictor")
366366
367367
# bit of a weird hack to get the latest values per key
368368
latest <- get_test_data(epi_recipe(jhu), jhu)

0 commit comments

Comments
 (0)