Skip to content

Commit 1a4f3e7

Browse files
committed
f-u styler
1 parent f075b84 commit 1a4f3e7

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

vignettes/articles/smooth-qr.Rmd

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,10 +300,12 @@ to 7:
300300

301301
```{r, eval = FALSE}
302302
smooth_preds_list <- map(1:7, function(x) {
303-
smooth_fc(edf,
304-
degree = x,
305-
quantiles = c(.1, .25, .5, .75, .9),
306-
fd = fd) %>%
303+
smooth_fc(
304+
edf,
305+
degree = x,
306+
quantiles = c(.1, .25, .5, .75, .9),
307+
fd = fd
308+
) %>%
307309
mutate(degree = x)
308310
}) %>% list_rbind()
309311
```

vignettes/epipredict.Rmd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,8 @@ package:
259259

260260
```{r ranger, warning = FALSE}
261261
out_rf <- arx_forecaster(
262-
jhu,
263-
outcome = "death_rate",
262+
jhu,
263+
outcome = "death_rate",
264264
predictors = c("case_rate", "death_rate"),
265265
trainer = rand_forest(mode = "regression")
266266
)
@@ -270,8 +270,8 @@ Or boosted regression trees with `{xgboost}`:
270270

271271
```{r xgboost, warning = FALSE}
272272
out_gb <- arx_forecaster(
273-
jhu,
274-
outcome = "death_rate",
273+
jhu,
274+
outcome = "death_rate",
275275
predictors = c("case_rate", "death_rate"),
276276
trainer = boost_tree(mode = "regression", trees = 20)
277277
)
@@ -281,8 +281,8 @@ Or quantile regression, using our custom forecasting engine `quantile_reg()`:
281281

282282
```{r quantreg, warning = FALSE}
283283
out_qr <- arx_forecaster(
284-
jhu,
285-
outcome = "death_rate",
284+
jhu,
285+
outcome = "death_rate",
286286
predictors = c("case_rate", "death_rate"),
287287
trainer = quantile_reg()
288288
)

0 commit comments

Comments
 (0)