diff --git a/_pkgdown.yml b/_pkgdown.yml index 5b92f1a7..922a117b 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -1,3 +1,4 @@ +url: https://www.spsanderson.com/healthyR.ts/ template: bootstrap: 5 bootswatch: flatly diff --git a/docs/404.html b/docs/404.html index 9202b736..a2361998 100644 --- a/docs/404.html +++ b/docs/404.html @@ -6,23 +6,23 @@ Page not found (404) • healthyR.ts - - - + + + - + - Skip to contents + Skip to contents
diff --git a/docs/articles/getting-started.html b/docs/articles/getting-started.html index 49ade157..3a188fbc 100644 --- a/docs/articles/getting-started.html +++ b/docs/articles/getting-started.html @@ -104,21 +104,21 @@

2022-07-19

df <- ts_random_walk() head(df) #> # A tibble: 6 × 4 -#> run x y cum_y -#> <dbl> <dbl> <dbl> <dbl> -#> 1 1 1 0.106 1106. -#> 2 1 2 -0.287 788. -#> 3 1 3 -0.00814 782. -#> 4 1 4 0.0512 822. -#> 5 1 5 -0.0206 805. -#> 6 1 6 -0.0656 752. +#> run x y cum_y +#> <dbl> <dbl> <dbl> <dbl> +#> 1 1 1 -0.0217 978. +#> 2 1 2 0.0120 990. +#> 3 1 3 0.103 1092. +#> 4 1 4 -0.0198 1070. +#> 5 1 5 -0.0798 985. +#> 6 1 6 0.0857 1069. glimpse(df) #> Rows: 10,000 #> Columns: 4 #> $ run <dbl> 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1… #> $ x <dbl> 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 1… -#> $ y <dbl> 0.105560113, -0.286884550, -0.008141119, 0.051196747, -0.0206457… -#> $ cum_y <dbl> 1105.5601, 788.3920, 781.9736, 822.0081, 805.0371, 752.2188, 841…
+#> $ y <dbl> -0.02166933, 0.01204845, 0.10290251, -0.01980533, -0.07976589, 0… +#> $ cum_y <dbl> 978.3307, 990.1180, 1092.0037, 1070.3762, 984.9967, 1069.3784, 9…

Now that the data has been generated, lets take a look at it.

 df %>%
diff --git a/docs/articles/getting-started_files/figure-html/ts_random_walk_ggplot_layers-1.png b/docs/articles/getting-started_files/figure-html/ts_random_walk_ggplot_layers-1.png
index 972b4274..30ced8d5 100644
Binary files a/docs/articles/getting-started_files/figure-html/ts_random_walk_ggplot_layers-1.png and b/docs/articles/getting-started_files/figure-html/ts_random_walk_ggplot_layers-1.png differ
diff --git a/docs/articles/getting-started_files/figure-html/unnamed-chunk-2-1.png b/docs/articles/getting-started_files/figure-html/unnamed-chunk-2-1.png
index 7c6128b1..98db1ba6 100644
Binary files a/docs/articles/getting-started_files/figure-html/unnamed-chunk-2-1.png and b/docs/articles/getting-started_files/figure-html/unnamed-chunk-2-1.png differ
diff --git a/docs/articles/getting-started_files/figure-html/unnamed-chunk-3-1.png b/docs/articles/getting-started_files/figure-html/unnamed-chunk-3-1.png
index bfd6151a..63ef5541 100644
Binary files a/docs/articles/getting-started_files/figure-html/unnamed-chunk-3-1.png and b/docs/articles/getting-started_files/figure-html/unnamed-chunk-3-1.png differ
diff --git a/docs/articles/using-tidy-fft.html b/docs/articles/using-tidy-fft.html
index 0d178f51..28799f79 100644
--- a/docs/articles/using-tidy-fft.html
+++ b/docs/articles/using-tidy-fft.html
@@ -185,8 +185,8 @@ 

Plot Data= date_col, .value = value )

-
-

Now that we know what our data looks like, lets go ahead and run it +

+

Now that we know what our data looks like, lets go ahead and run it through the function and assign it to a variable called output

@@ -385,8 +385,8 @@

harmonic_plotlyharmonic_plot

 output$plots$harmonic_plotly
-
- +
+

max_har_plotly @@ -395,8 +395,8 @@

max_har_plotlymax_har_plot

 output$plots$max_har_plotly
-
- +
+

diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index d5775b01..8e9cbf08 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -4,5 +4,8 @@ pkgdown_sha: ~ articles: getting-started: getting-started.html using-tidy-fft: using-tidy-fft.html -last_built: 2022-07-19T15:58Z +last_built: 2022-07-19T16:01Z +urls: + reference: https://www.spsanderson.com/healthyR.ts/reference + article: https://www.spsanderson.com/healthyR.ts/articles diff --git a/docs/reference/step_ts_acceleration.html b/docs/reference/step_ts_acceleration.html index 90f5ae9f..de47e500 100644 --- a/docs/reference/step_ts_acceleration.html +++ b/docs/reference/step_ts_acceleration.html @@ -204,33 +204,33 @@

Examples# Bake the recipe object - Adds the Time Series Signature bake(prep(rec_obj), data_tbl) #> # A tibble: 10 × 4 -#> date_col b a acceleration_b -#> <date> <dbl> <dbl> <dbl> -#> 1 2021-01-01 0.713 1.11 NA -#> 2 2021-02-01 0.362 -0.155 NA -#> 3 2021-03-01 0.546 -0.556 0.536 -#> 4 2021-04-01 0.208 0.534 -0.523 -#> 5 2021-05-01 0.731 -0.0669 0.861 -#> 6 2021-06-01 0.595 0.591 -0.659 -#> 7 2021-07-01 0.979 -0.234 0.520 -#> 8 2021-08-01 0.626 0.521 -0.737 -#> 9 2021-09-01 0.0341 1.97 -0.239 -#> 10 2021-10-01 0.924 0.959 1.48 +#> date_col b a acceleration_b +#> <date> <dbl> <dbl> <dbl> +#> 1 2021-01-01 0.760 1.13 NA +#> 2 2021-02-01 0.487 -1.56 NA +#> 3 2021-03-01 0.0930 -0.231 -0.121 +#> 4 2021-04-01 0.561 -0.363 0.862 +#> 5 2021-05-01 0.191 1.61 -0.837 +#> 6 2021-06-01 0.174 -0.551 0.353 +#> 7 2021-07-01 0.0248 0.825 -0.132 +#> 8 2021-08-01 0.550 -0.868 0.674 +#> 9 2021-09-01 0.671 -0.336 -0.403 +#> 10 2021-10-01 0.636 0.652 -0.157 rec_obj %>% prep() %>% juice() #> # A tibble: 10 × 4 -#> date_col b a acceleration_b -#> <date> <dbl> <dbl> <dbl> -#> 1 2021-01-01 0.713 1.11 NA -#> 2 2021-02-01 0.362 -0.155 NA -#> 3 2021-03-01 0.546 -0.556 0.536 -#> 4 2021-04-01 0.208 0.534 -0.523 -#> 5 2021-05-01 0.731 -0.0669 0.861 -#> 6 2021-06-01 0.595 0.591 -0.659 -#> 7 2021-07-01 0.979 -0.234 0.520 -#> 8 2021-08-01 0.626 0.521 -0.737 -#> 9 2021-09-01 0.0341 1.97 -0.239 -#> 10 2021-10-01 0.924 0.959 1.48 +#> date_col b a acceleration_b +#> <date> <dbl> <dbl> <dbl> +#> 1 2021-01-01 0.760 1.13 NA +#> 2 2021-02-01 0.487 -1.56 NA +#> 3 2021-03-01 0.0930 -0.231 -0.121 +#> 4 2021-04-01 0.561 -0.363 0.862 +#> 5 2021-05-01 0.191 1.61 -0.837 +#> 6 2021-06-01 0.174 -0.551 0.353 +#> 7 2021-07-01 0.0248 0.825 -0.132 +#> 8 2021-08-01 0.550 -0.868 0.674 +#> 9 2021-09-01 0.671 -0.336 -0.403 +#> 10 2021-10-01 0.636 0.652 -0.157

diff --git a/docs/reference/step_ts_velocity.html b/docs/reference/step_ts_velocity.html index ac8f671e..6db52272 100644 --- a/docs/reference/step_ts_velocity.html +++ b/docs/reference/step_ts_velocity.html @@ -206,31 +206,31 @@

Examples#> # A tibble: 10 × 4 #> date_col b a velocity_b #> <date> <dbl> <dbl> <dbl> -#> 1 2021-01-01 0.799 1.97 NA -#> 2 2021-02-01 0.808 0.840 0.00911 -#> 3 2021-03-01 0.343 -1.09 -0.465 -#> 4 2021-04-01 0.536 -0.936 0.193 -#> 5 2021-05-01 0.0496 1.08 -0.487 -#> 6 2021-06-01 0.869 -0.428 0.819 -#> 7 2021-07-01 0.456 -0.910 -0.413 -#> 8 2021-08-01 0.738 -0.870 0.282 -#> 9 2021-09-01 0.833 1.02 0.0943 -#> 10 2021-10-01 0.233 0.724 -0.600 +#> 1 2021-01-01 0.990 0.774 NA +#> 2 2021-02-01 0.774 0.808 -0.216 +#> 3 2021-03-01 0.126 1.74 -0.648 +#> 4 2021-04-01 0.634 -0.138 0.508 +#> 5 2021-05-01 0.447 1.29 -0.187 +#> 6 2021-06-01 0.486 -0.121 0.0388 +#> 7 2021-07-01 0.733 2.15 0.247 +#> 8 2021-08-01 0.0968 -0.577 -0.637 +#> 9 2021-09-01 0.713 -1.92 0.617 +#> 10 2021-10-01 0.966 -1.84 0.253 rec_obj %>% prep() %>% juice() #> # A tibble: 10 × 4 #> date_col b a velocity_b #> <date> <dbl> <dbl> <dbl> -#> 1 2021-01-01 0.799 1.97 NA -#> 2 2021-02-01 0.808 0.840 0.00911 -#> 3 2021-03-01 0.343 -1.09 -0.465 -#> 4 2021-04-01 0.536 -0.936 0.193 -#> 5 2021-05-01 0.0496 1.08 -0.487 -#> 6 2021-06-01 0.869 -0.428 0.819 -#> 7 2021-07-01 0.456 -0.910 -0.413 -#> 8 2021-08-01 0.738 -0.870 0.282 -#> 9 2021-09-01 0.833 1.02 0.0943 -#> 10 2021-10-01 0.233 0.724 -0.600 +#> 1 2021-01-01 0.990 0.774 NA +#> 2 2021-02-01 0.774 0.808 -0.216 +#> 3 2021-03-01 0.126 1.74 -0.648 +#> 4 2021-04-01 0.634 -0.138 0.508 +#> 5 2021-05-01 0.447 1.29 -0.187 +#> 6 2021-06-01 0.486 -0.121 0.0388 +#> 7 2021-07-01 0.733 2.15 0.247 +#> 8 2021-08-01 0.0968 -0.577 -0.637 +#> 9 2021-09-01 0.713 -1.92 0.617 +#> 10 2021-10-01 0.966 -1.84 0.253 diff --git a/docs/reference/ts_acceleration_augment.html b/docs/reference/ts_acceleration_augment.html index e4b7abf5..9a030d8a 100644 --- a/docs/reference/ts_acceleration_augment.html +++ b/docs/reference/ts_acceleration_augment.html @@ -125,18 +125,18 @@

Examples ts_acceleration_augment(data_tbl, b) #> # A tibble: 10 × 4 -#> date_col a b acceleration_b -#> <date> <dbl> <dbl> <dbl> -#> 1 2021-01-01 1.75 0.846 NA -#> 2 2021-02-01 0.0526 0.524 NA -#> 3 2021-03-01 0.0451 0.972 0.770 -#> 4 2021-04-01 -0.474 0.928 -0.491 -#> 5 2021-05-01 -0.150 0.574 -0.310 -#> 6 2021-06-01 0.460 0.597 0.377 -#> 7 2021-07-01 0.404 0.722 0.102 -#> 8 2021-08-01 -1.04 0.988 0.141 -#> 9 2021-09-01 0.287 0.322 -0.931 -#> 10 2021-10-01 -0.508 0.441 0.784 +#> date_col a b acceleration_b +#> <date> <dbl> <dbl> <dbl> +#> 1 2021-01-01 0.268 0.858 NA +#> 2 2021-02-01 -0.456 0.0773 NA +#> 3 2021-03-01 -0.229 0.825 1.53 +#> 4 2021-04-01 0.162 0.464 -1.11 +#> 5 2021-05-01 -0.582 0.0262 -0.0770 +#> 6 2021-06-01 1.39 0.595 1.01 +#> 7 2021-07-01 0.981 0.667 -0.496 +#> 8 2021-08-01 -2.16 0.0128 -0.727 +#> 9 2021-09-01 0.0133 0.257 0.898 +#> 10 2021-10-01 -0.371 0.639 0.139 diff --git a/docs/reference/ts_acceleration_vec-1.png b/docs/reference/ts_acceleration_vec-1.png index 5d4dd5b7..9bc78c37 100644 Binary files a/docs/reference/ts_acceleration_vec-1.png and b/docs/reference/ts_acceleration_vec-1.png differ diff --git a/docs/reference/ts_arima_simulator-1.png b/docs/reference/ts_arima_simulator-1.png index 32afd045..30a59d93 100644 Binary files a/docs/reference/ts_arima_simulator-1.png and b/docs/reference/ts_arima_simulator-1.png differ diff --git a/docs/reference/ts_calendar_heatmap_plot-1.png b/docs/reference/ts_calendar_heatmap_plot-1.png index 289a1b55..74e8af2a 100644 Binary files a/docs/reference/ts_calendar_heatmap_plot-1.png and b/docs/reference/ts_calendar_heatmap_plot-1.png differ diff --git a/docs/reference/ts_feature_cluster-1.png b/docs/reference/ts_feature_cluster-1.png index 09c84066..08a4e1c2 100644 Binary files a/docs/reference/ts_feature_cluster-1.png and b/docs/reference/ts_feature_cluster-1.png differ diff --git a/docs/reference/ts_feature_cluster_plot-1.png b/docs/reference/ts_feature_cluster_plot-1.png index e717ed18..f417b70e 100644 Binary files a/docs/reference/ts_feature_cluster_plot-1.png and b/docs/reference/ts_feature_cluster_plot-1.png differ diff --git a/docs/reference/ts_forecast_simulator-1.png b/docs/reference/ts_forecast_simulator-1.png index c47143ff..a15f9c0c 100644 Binary files a/docs/reference/ts_forecast_simulator-1.png and b/docs/reference/ts_forecast_simulator-1.png differ diff --git a/docs/reference/ts_random_walk.html b/docs/reference/ts_random_walk.html index 066720c5..2971fda2 100644 --- a/docs/reference/ts_random_walk.html +++ b/docs/reference/ts_random_walk.html @@ -134,18 +134,18 @@

Examples.initial_value = 6 ) #> # A tibble: 4,500 × 4 -#> run x y cum_y -#> <dbl> <dbl> <dbl> <dbl> -#> 1 1 1 -1.72 -4.34 -#> 2 1 2 -2.15 5.00 -#> 3 1 3 -1.23 -1.16 -#> 4 1 4 0.382 -1.60 -#> 5 1 5 1.91 -4.65 -#> 6 1 6 -0.940 -0.279 -#> 7 1 7 -0.646 -0.0988 -#> 8 1 8 1.69 -0.265 -#> 9 1 9 -0.443 -0.148 -#> 10 1 10 1.43 -0.359 +#> run x y cum_y +#> <dbl> <dbl> <dbl> <dbl> +#> 1 1 1 -0.695 1.83 +#> 2 1 2 -0.282 1.31 +#> 3 1 3 -3.61 -3.42 +#> 4 1 4 0.236 -4.23 +#> 5 1 5 1.14 -9.05 +#> 6 1 6 0.298 -11.7 +#> 7 1 7 -1.28 3.31 +#> 8 1 8 0.375 4.55 +#> 9 1 9 0.339 6.10 +#> 10 1 10 1.89 17.6 #> # … with 4,490 more rows #> # ℹ Use `print(n = ...)` to see more rows diff --git a/docs/reference/ts_random_walk_ggplot_layers-1.png b/docs/reference/ts_random_walk_ggplot_layers-1.png index 6402946a..c37658f2 100644 Binary files a/docs/reference/ts_random_walk_ggplot_layers-1.png and b/docs/reference/ts_random_walk_ggplot_layers-1.png differ diff --git a/docs/reference/ts_splits_plot.html b/docs/reference/ts_splits_plot.html index d09570d4..480fae68 100644 --- a/docs/reference/ts_splits_plot.html +++ b/docs/reference/ts_splits_plot.html @@ -133,8 +133,8 @@

Examples .date_col = date_col, .value_col = value ) -
- +
+