From d37706e9fa0211753b0e1d1ff17f15413acd4c10 Mon Sep 17 00:00:00 2001
From: earowang
Date: Wed, 30 May 2018 09:51:45 +1000
Subject: [PATCH] updated pkgdown site
---
docs/articles/index.html | 5 +-
docs/articles/intro-tsibble.html | 23 ++++----
docs/authors.html | 2 +-
docs/favicon.ico | Bin 0 -> 1882 bytes
docs/index.html | 2 +-
docs/logo.png | Bin 0 -> 5507 bytes
docs/news/index.html | 12 ++--
docs/reference/arrange.html | 4 +-
docs/reference/as-tibble.html | 4 +-
docs/reference/as-tsibble.html | 4 +-
docs/reference/as.ts.tbl_ts.html | 4 +-
docs/reference/build_tsibble.html | 4 +-
docs/reference/case_na.html | 4 +-
docs/reference/difference.html | 58 ++++++++++++++----
docs/reference/figures/logo.png | Bin 0 -> 5507 bytes
docs/reference/fill-na.html | 88 ++++++++++++++--------------
docs/reference/filter.tbl_ts.html | 4 +-
docs/reference/find_duplicates.html | 4 +-
docs/reference/gaps.html | 4 +-
docs/reference/gather.html | 24 ++++----
docs/reference/group-by.html | 4 +-
docs/reference/guess_frequency.html | 4 +-
docs/reference/id.html | 4 +-
docs/reference/index-by.html | 4 +-
docs/reference/index-rd.html | 4 +-
docs/reference/index.html | 7 ++-
docs/reference/index_valid.html | 4 +-
docs/reference/is-tsibble.html | 4 +-
docs/reference/key-size.html | 4 +-
docs/reference/key.html | 4 +-
docs/reference/key_update.html | 4 +-
docs/reference/measured-vars.html | 4 +-
docs/reference/mutate.html | 4 +-
docs/reference/nest.html | 4 +-
docs/reference/pedestrian.html | 4 +-
docs/reference/period.html | 4 +-
docs/reference/pull-interval.html | 4 +-
docs/reference/reexports.html | 4 +-
docs/reference/regular.html | 4 +-
docs/reference/select.html | 4 +-
docs/reference/slice.tbl_ts.html | 4 +-
docs/reference/slide.html | 4 +-
docs/reference/split-by.html | 4 +-
docs/reference/spread.html | 24 ++++----
docs/reference/stretch.html | 4 +-
docs/reference/summarise.html | 4 +-
docs/reference/tile.html | 4 +-
docs/reference/tourism.html | 4 +-
docs/reference/tsibble-package.html | 54 +++++++++--------
docs/reference/tsibble.html | 52 ++++++++--------
docs/reference/unnest.html | 6 +-
51 files changed, 315 insertions(+), 182 deletions(-)
create mode 100644 docs/favicon.ico
create mode 100644 docs/logo.png
create mode 100644 docs/reference/figures/logo.png
diff --git a/docs/articles/index.html b/docs/articles/index.html
index ec753d74..339676e2 100644
--- a/docs/articles/index.html
+++ b/docs/articles/index.html
@@ -30,6 +30,9 @@
+
+
+
@@ -55,7 +58,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/articles/intro-tsibble.html b/docs/articles/intro-tsibble.html
index ca864ecf..02b885e5 100644
--- a/docs/articles/intro-tsibble.html
+++ b/docs/articles/intro-tsibble.html
@@ -11,6 +11,7 @@
+
@@ -55,7 +58,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
@@ -104,10 +107,11 @@ Changelog
-
+
+
The tsibble package has a hexagon logo now! Thanks Mitch (@mitchelloharawild ).
New functions
@@ -365,7 +369,7 @@
diff --git a/docs/reference/as-tsibble.html b/docs/reference/as-tsibble.html
index 38ca993e..4f888582 100644
--- a/docs/reference/as-tsibble.html
+++ b/docs/reference/as-tsibble.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/as.ts.tbl_ts.html b/docs/reference/as.ts.tbl_ts.html
index c6bc3cf8..65163576 100644
--- a/docs/reference/as.ts.tbl_ts.html
+++ b/docs/reference/as.ts.tbl_ts.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/build_tsibble.html b/docs/reference/build_tsibble.html
index 0305e2ed..50cce26d 100644
--- a/docs/reference/build_tsibble.html
+++ b/docs/reference/build_tsibble.html
@@ -33,6 +33,8 @@
+
+
@@ -60,7 +62,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/case_na.html b/docs/reference/case_na.html
index 7f5df0ae..b58a4998 100644
--- a/docs/reference/case_na.html
+++ b/docs/reference/case_na.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/difference.html b/docs/reference/difference.html
index c17593dd..198c0342 100644
--- a/docs/reference/difference.html
+++ b/docs/reference/difference.html
@@ -6,7 +6,7 @@
-Lagged Differences in C++ — difference • tsibble
+Lagged Differences — difference • tsibble
@@ -28,9 +28,11 @@
-
+
-
+
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
@@ -103,18 +105,18 @@
-
Lagged Differences in C++
+
Lagged Differences
-
difference (x , lag = 1 , differences = 1 )
+
difference (x , lag = 1 , differences = 1 , default = NA , order_by = NULL )
Arguments
@@ -125,23 +127,55 @@ Arg
lag
- An integer indicating which lag to use.
+ An positive integer indicating which lag to use.
differences
- An integer indicating the order of the difference.
+ An positive integer indicating the order of the difference.
+
+
+ default
+ Value used for non-existent rows, defaults to NA
.
+
+
+ order_by
+ Override the default ordering to use another vector.
Value
-
A numeric vector of the same length as x
with padded NA
.
+
A numeric vector of the same length as x
.
+
+
See also
+
+
Examples
# examples from base
difference (1 :10 , 2 )
#> [1] NA NA 2 2 2 2 2 2 2 2
difference (1 :10 , 2 , 2 )
#> [1] NA NA NA NA 0 0 0 0 0 0
x <- cumsum (cumsum (1 :10 ))
-difference (x , lag = 2 )
#> [1] NA NA 9 16 25 36 49 64 81 100
difference (x , differences = 2 )
#> [1] NA NA 3 4 5 6 7 8 9 10
+
difference (
x ,
lag = 2 )
#> [1] NA NA 9 16 25 36 49 64 81 100
difference (x , differences = 2 )
#> [1] NA NA 3 4 5 6 7 8 9 10
#> Warning: The `tbl_ts` is not sorted by `year`.
#> Warning: The `tbl_ts` is not sorted by `year`.
#> # A tsibble: 6 x 3 [1YEAR]
+#> year value diff
+#> <int> <dbl> <dbl>
+#> 1 2000 0 -16
+#> 2 2001 1 NA
+#> 3 2002 4 -21
+#> 4 2003 9 8
+#> 5 2004 16 12
+#> 6 2005 25 16
#> Warning: The `tbl_ts` is not sorted by `year`.
#> # A tsibble: 6 x 3 [1YEAR]
+#> year value diff
+#> <int> <dbl> <dbl>
+#> 1 2000 0 NA
+#> 2 2001 1 1
+#> 3 2002 4 3
+#> 4 2003 9 5
+#> 5 2004 16 7
+#> 6 2005 25 9
@@ -159,27 +161,27 @@ Examp
#> year fruit kilo
#> <dbl> <chr> <int>
#> 1 2010 cherry NA
-#> 2 2011 cherry 5
-#> 3 2012 cherry 9
+#> 2 2011 cherry 4
+#> 3 2012 cherry 6
#> 4 2013 cherry NA
-#> 5 2014 cherry 1
-#> 6 2010 kiwi 3
-#> 7 2011 kiwi 7
+#> 5 2014 cherry 9
+#> 6 2010 kiwi 10
+#> 7 2011 kiwi 3
#> 8 2012 kiwi NA
-#> 9 2013 kiwi 4
+#> 9 2013 kiwi 8
#> 10 2014 kiwi NAfull_harvest <- fill_na (harvest , .full = FALSE )
full_harvest
#> # A tsibble: 8 x 3 [1YEAR]
#> # Keys: fruit [2]
#> year fruit kilo
#> <dbl> <chr> <int>
-#> 1 2011 cherry 5
-#> 2 2012 cherry 9
+#> 1 2011 cherry 4
+#> 2 2012 cherry 6
#> 3 2013 cherry NA
-#> 4 2014 cherry 1
-#> 5 2010 kiwi 3
-#> 6 2011 kiwi 7
+#> 4 2014 cherry 9
+#> 5 2010 kiwi 10
+#> 6 2011 kiwi 3
#> 7 2012 kiwi NA
-#> 8 2013 kiwi 4
+#> 8 2013 kiwi 8
+#> 1 2011 cherry 4
+#> 2 2012 cherry 6
+#> 3 2013 cherry 6
+#> 4 2014 cherry 9
+#> 5 2010 kiwi 10
+#> 6 2011 kiwi 3
+#> 7 2012 kiwi 3
+#> 8 2013 kiwi 8
# replace NA with a specific value ----
harvest %>%
fill_na (kilo = 0L )
#> # A tsibble: 8 x 3 [1YEAR]
#> # Keys: fruit [2]
#> year fruit kilo
#> <dbl> <chr> <int>
-#> 1 2011 cherry 5
-#> 2 2012 cherry 9
+#> 1 2011 cherry 4
+#> 2 2012 cherry 6
#> 3 2013 cherry 0
-#> 4 2014 cherry 1
-#> 5 2010 kiwi 3
-#> 6 2011 kiwi 7
+#> 4 2014 cherry 9
+#> 5 2010 kiwi 10
+#> 6 2011 kiwi 3
#> 7 2012 kiwi 0
-#> 8 2013 kiwi 4
+#> 8 2013 kiwi 8
+#> 1 2011 cherry 4
+#> 2 2012 cherry 6
+#> 3 2013 cherry 40
+#> 4 2014 cherry 9
+#> 5 2010 kiwi 10
+#> 6 2011 kiwi 3
+#> 7 2012 kiwi 40
+#> 8 2013 kiwi 8
+#> 1 2011 cherry 4
+#> 2 2012 cherry 6
+#> 3 2013 cherry 19
+#> 4 2014 cherry 9
+#> 5 2010 kiwi 10
+#> 6 2011 kiwi 3
+#> 7 2012 kiwi 21
+#> 8 2013 kiwi 8
diff --git a/docs/reference/find_duplicates.html b/docs/reference/find_duplicates.html
index 5b4090af..1852a70f 100644
--- a/docs/reference/find_duplicates.html
+++ b/docs/reference/find_duplicates.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/gaps.html b/docs/reference/gaps.html
index 1925ecd9..e01f5786 100644
--- a/docs/reference/gaps.html
+++ b/docs/reference/gaps.html
@@ -32,6 +32,8 @@
+
+
@@ -59,7 +61,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/gather.html b/docs/reference/gather.html
index 356cfdce..88cbb3c9 100644
--- a/docs/reference/gather.html
+++ b/docs/reference/gather.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
@@ -190,16 +192,16 @@ Examp
#> # Keys: stock [3]
#> time stock price
#> <date> <chr> <dbl>
-#> 1 2009-01-01 X 1.73
-#> 2 2009-01-02 X 1.45
-#> 3 2009-01-03 X 1.52
-#> 4 2009-01-04 X -0.384
-#> 5 2009-01-05 X 1.83
-#> 6 2009-01-06 X -0.551
-#> 7 2009-01-07 X -0.866
-#> 8 2009-01-08 X -0.344
-#> 9 2009-01-09 X 1.06
-#> 10 2009-01-10 X 0.813
+#> 1 2009-01-01 X -0.384
+#> 2 2009-01-02 X 1.83
+#> 3 2009-01-03 X -0.551
+#> 4 2009-01-04 X -0.866
+#> 5 2009-01-05 X -0.344
+#> 6 2009-01-06 X 1.06
+#> 7 2009-01-07 X 0.813
+#> 8 2009-01-08 X 1.80
+#> 9 2009-01-09 X -0.105
+#> 10 2009-01-10 X 0.982
#> # ... with 20 more rows
diff --git a/docs/reference/guess_frequency.html b/docs/reference/guess_frequency.html
index 27119c57..6c4244c1 100644
--- a/docs/reference/guess_frequency.html
+++ b/docs/reference/guess_frequency.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/id.html b/docs/reference/id.html
index 17a3170e..9e76da08 100644
--- a/docs/reference/id.html
+++ b/docs/reference/id.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/index-by.html b/docs/reference/index-by.html
index cc4cf6ed..7463fa58 100644
--- a/docs/reference/index-by.html
+++ b/docs/reference/index-by.html
@@ -36,6 +36,8 @@
group_by() but dealing with index only. index_by() + summarise() will
update the grouping index variable to be the new index. Use ungroup() or
index_by() with no arguments to remove the index grouping vars." />
+
+
@@ -63,7 +65,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/index-rd.html b/docs/reference/index-rd.html
index 4378f78e..e3f3de86 100644
--- a/docs/reference/index-rd.html
+++ b/docs/reference/index-rd.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/index.html b/docs/reference/index.html
index c62c97d1..45767976 100644
--- a/docs/reference/index.html
+++ b/docs/reference/index.html
@@ -30,6 +30,9 @@
+
+
+
@@ -55,7 +58,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
@@ -206,7 +209,7 @@
- Lagged Differences in C++
+ Lagged Differences
diff --git a/docs/reference/index_valid.html b/docs/reference/index_valid.html
index 6825597e..a46a1d29 100644
--- a/docs/reference/index_valid.html
+++ b/docs/reference/index_valid.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/is-tsibble.html b/docs/reference/is-tsibble.html
index cc374383..f7cb34aa 100644
--- a/docs/reference/is-tsibble.html
+++ b/docs/reference/is-tsibble.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/key-size.html b/docs/reference/key-size.html
index 0bea41c9..57abdc48 100644
--- a/docs/reference/key-size.html
+++ b/docs/reference/key-size.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/key.html b/docs/reference/key.html
index fc61533d..12c13c26 100644
--- a/docs/reference/key.html
+++ b/docs/reference/key.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/key_update.html b/docs/reference/key_update.html
index ed3f5508..ff4b0782 100644
--- a/docs/reference/key_update.html
+++ b/docs/reference/key_update.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/measured-vars.html b/docs/reference/measured-vars.html
index 1d097e16..0330a90f 100644
--- a/docs/reference/measured-vars.html
+++ b/docs/reference/measured-vars.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/mutate.html b/docs/reference/mutate.html
index 143ecb9c..5f4f7607 100644
--- a/docs/reference/mutate.html
+++ b/docs/reference/mutate.html
@@ -32,6 +32,8 @@
+
+
@@ -59,7 +61,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/nest.html b/docs/reference/nest.html
index 215d5c83..4d5814f8 100644
--- a/docs/reference/nest.html
+++ b/docs/reference/nest.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/pedestrian.html b/docs/reference/pedestrian.html
index 67efa9c8..b6823876 100644
--- a/docs/reference/pedestrian.html
+++ b/docs/reference/pedestrian.html
@@ -32,6 +32,8 @@
+
+
@@ -59,7 +61,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/period.html b/docs/reference/period.html
index 9d2b4752..40064999 100644
--- a/docs/reference/period.html
+++ b/docs/reference/period.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/pull-interval.html b/docs/reference/pull-interval.html
index c40a00e1..5d3cab89 100644
--- a/docs/reference/pull-interval.html
+++ b/docs/reference/pull-interval.html
@@ -33,6 +33,8 @@
+
+
@@ -60,7 +62,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/reexports.html b/docs/reference/reexports.html
index fe155769..da7fb375 100644
--- a/docs/reference/reexports.html
+++ b/docs/reference/reexports.html
@@ -43,6 +43,8 @@
+
+
@@ -70,7 +72,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/regular.html b/docs/reference/regular.html
index ca806ef3..a3cb4449 100644
--- a/docs/reference/regular.html
+++ b/docs/reference/regular.html
@@ -34,6 +34,8 @@
+
+
@@ -61,7 +63,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/select.html b/docs/reference/select.html
index a8ec90f8..8a83250f 100644
--- a/docs/reference/select.html
+++ b/docs/reference/select.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/slice.tbl_ts.html b/docs/reference/slice.tbl_ts.html
index 878d7eb6..a67c7eea 100644
--- a/docs/reference/slice.tbl_ts.html
+++ b/docs/reference/slice.tbl_ts.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/slide.html b/docs/reference/slide.html
index 91e5cc5a..2b2e2674 100644
--- a/docs/reference/slide.html
+++ b/docs/reference/slide.html
@@ -36,6 +36,8 @@
slide_dfr() return data frame using row-binding
slider() splits the input x to a list according to the window size.
" />
+
+
@@ -63,7 +65,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/split-by.html b/docs/reference/split-by.html
index 27585bd2..f23c8f48 100644
--- a/docs/reference/split-by.html
+++ b/docs/reference/split-by.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/spread.html b/docs/reference/spread.html
index 06b87a13..84c7f907 100644
--- a/docs/reference/spread.html
+++ b/docs/reference/spread.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
@@ -186,16 +188,16 @@ Examp
stocksm %>% spread (stock , price )#> # A tsibble: 10 x 4 [1DAY]
#> time X Y Z
#> <date> <dbl> <dbl> <dbl>
-#> 1 2009-01-01 1.32 -5.88 -3.02
-#> 2 2009-01-02 0.637 1.44 -1.96
-#> 3 2009-01-03 0.514 -1.40 -4.66
-#> 4 2009-01-04 -1.75 -3.79 -1.92
-#> 5 2009-01-05 0.894 0.153 0.461
-#> 6 2009-01-06 0.223 1.75 -7.07
-#> 7 2009-01-07 0.581 0.908 -5.63
-#> 8 2009-01-08 -0.178 -1.70 2.84
-#> 9 2009-01-09 0.741 1.13 -4.96
-#> 10 2009-01-10 -0.997 2.30 -1.47
+#> 1 2009-01-01 -1.75 -3.79 -1.92
+#> 2 2009-01-02 0.894 0.153 0.461
+#> 3 2009-01-03 0.223 1.75 -7.07
+#> 4 2009-01-04 0.581 0.908 -5.63
+#> 5 2009-01-05 -0.178 -1.70 2.84
+#> 6 2009-01-06 0.741 1.13 -4.96
+#> 7 2009-01-07 -0.997 2.30 -1.47
+#> 8 2009-01-08 -2.94 -1.51 1.85
+#> 9 2009-01-09 0.719 -0.979 -1.29
+#> 10 2009-01-10 -0.698 -2.33 -5.15
diff --git a/docs/reference/summarise.html b/docs/reference/summarise.html
index fcc4d840..8dfdc944 100644
--- a/docs/reference/summarise.html
+++ b/docs/reference/summarise.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/tile.html b/docs/reference/tile.html
index 4411e65c..804c9098 100644
--- a/docs/reference/tile.html
+++ b/docs/reference/tile.html
@@ -36,6 +36,8 @@
tile_dfr() return data frame using row-binding
tiler() splits the input x to a list according to the window size.
" />
+
+
@@ -63,7 +65,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/tourism.html b/docs/reference/tourism.html
index e4bf0ba9..fa8981d3 100644
--- a/docs/reference/tourism.html
+++ b/docs/reference/tourism.html
@@ -32,6 +32,8 @@
+
+
@@ -59,7 +61,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
diff --git a/docs/reference/tsibble-package.html b/docs/reference/tsibble-package.html
index 111a6d3a..abb52255 100644
--- a/docs/reference/tsibble-package.html
+++ b/docs/reference/tsibble-package.html
@@ -34,6 +34,8 @@
temporal data frames in a "tidy" form. A tsibble consists of a time index,
key(s) and other measured variables in a data-centric format, which is built on
top of the tibble." />
+
+
@@ -61,7 +63,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
@@ -136,6 +138,8 @@ Index
12 months every year. However, if using Date
, a month contains days ranging
from 28 to 31 days, which results in irregular time space. This is also applicable
to year-week and year-quarter.
+Since the tibble that underlies the tsibble only accepts a 1d atomic
+vector or a list, a tbl_ts
doesn't accept POSIXlt
and timeDate
columns.
Key
@@ -195,18 +199,18 @@ Examp
key = id (), index = date
)
tsbl1 #> # A tsibble: 10 x 2 [1DAY]
-#> date value
-#> <date> <dbl>
-#> 1 2017-01-01 0.462
-#> 2 2017-01-02 -0.323
-#> 3 2017-01-03 -1.29
-#> 4 2017-01-04 -1.03
-#> 5 2017-01-05 1.51
-#> 6 2017-01-06 0.347
-#> 7 2017-01-07 1.78
-#> 8 2017-01-08 0.387
-#> 9 2017-01-09 -0.919
-#> 10 2017-01-10 -1.58
+#> date value
+#> <date> <dbl>
+#> 1 2017-01-01 -1.03
+#> 2 2017-01-02 1.51
+#> 3 2017-01-03 0.347
+#> 4 2017-01-04 1.78
+#> 5 2017-01-05 0.387
+#> 6 2017-01-06 -0.919
+#> 7 2017-01-07 -1.58
+#> 8 2017-01-08 -0.0841
+#> 9 2017-01-09 -2.09
+#> 10 2017-01-10 0.00357
#> # A tsibble: 30 x 3 [1QUARTER]
#> # Keys: group [3]
-#> qtr group value
-#> <qtr> <chr> <dbl>
-#> 1 2010 Q1 x -0.0841
-#> 2 2010 Q2 x -2.09
-#> 3 2010 Q3 x 0.00357
-#> 4 2010 Q4 x -0.356
-#> 5 2011 Q1 x 1.15
-#> 6 2011 Q2 x -0.221
-#> 7 2011 Q3 x 1.02
-#> 8 2011 Q4 x -0.264
-#> 9 2012 Q1 x 1.66
-#> 10 2012 Q2 x -0.774
+#> qtr group value
+#> <qtr> <chr> <dbl>
+#> 1 2010 Q1 x -0.356
+#> 2 2010 Q2 x 1.15
+#> 3 2010 Q3 x -0.221
+#> 4 2010 Q4 x 1.02
+#> 5 2011 Q1 x -0.264
+#> 6 2011 Q2 x 1.66
+#> 7 2011 Q3 x -0.774
+#> 8 2011 Q4 x -0.924
+#> 9 2012 Q1 x -0.276
+#> 10 2012 Q2 x -0.593
#> # ... with 20 more rows
@@ -147,7 +149,7 @@ Value
Details
- A tsibble is sorted by its key(s) first and index.
+ A tsibble is sorted by its key first and index.
Index
@@ -164,6 +166,8 @@ Index
12 months every year. However, if using Date
, a month contains days ranging
from 28 to 31 days, which results in irregular time space. This is also applicable
to year-week and year-quarter.
+Since the tibble that underlies the tsibble only accepts a 1d atomic
+vector or a list, a tbl_ts
doesn't accept POSIXlt
and timeDate
columns.
Key
@@ -216,16 +220,16 @@ Examp
tsbl1 #> # A tsibble: 10 x 2 [1DAY]
#> date value
#> <date> <dbl>
-#> 1 2017-01-01 1.49
-#> 2 2017-01-02 -0.659
-#> 3 2017-01-03 0.537
-#> 4 2017-01-04 0.747
-#> 5 2017-01-05 1.90
-#> 6 2017-01-06 -2.06
-#> 7 2017-01-07 0.0645
-#> 8 2017-01-08 -0.265
-#> 9 2017-01-09 -0.447
-#> 10 2017-01-10 -1.41
+#> 1 2017-01-01 0.747
+#> 2 2017-01-02 1.90
+#> 3 2017-01-03 -2.06
+#> 4 2017-01-04 0.0645
+#> 5 2017-01-05 -0.265
+#> 6 2017-01-06 -0.447
+#> 7 2017-01-07 -1.41
+#> 8 2017-01-08 -0.506
+#> 9 2017-01-09 -0.270
+#> 10 2017-01-10 -1.09
#> # A tsibble: 30 x 3 [1QUARTER]
#> # Keys: group [3]
-#> qtr group value
-#> <qtr> <chr> <dbl>
-#> 1 2010 Q1 x -0.506
-#> 2 2010 Q2 x -0.270
-#> 3 2010 Q3 x -1.09
-#> 4 2010 Q4 x 0.362
-#> 5 2011 Q1 x -0.336
-#> 6 2011 Q2 x 1.36
-#> 7 2011 Q3 x -0.712
-#> 8 2011 Q4 x 0.662
-#> 9 2012 Q1 x 0.291
-#> 10 2012 Q2 x 0.198
+#> qtr group value
+#> <qtr> <chr> <dbl>
+#> 1 2010 Q1 x 0.362
+#> 2 2010 Q2 x -0.336
+#> 3 2010 Q3 x 1.36
+#> 4 2010 Q4 x -0.712
+#> 5 2011 Q1 x 0.662
+#> 6 2011 Q2 x 0.291
+#> 7 2011 Q3 x 0.198
+#> 8 2011 Q4 x -1.20
+#> 9 2012 Q1 x -0.0398
+#> 10 2012 Q2 x 0.687
#> # ... with 20 more rows
diff --git a/docs/reference/unnest.html b/docs/reference/unnest.html
index 2f16f12a..117c27b5 100644
--- a/docs/reference/unnest.html
+++ b/docs/reference/unnest.html
@@ -31,6 +31,8 @@
+
+
@@ -58,7 +60,7 @@
tsibble
- 0.2.0.9000
+ 0.3.0
@@ -127,7 +129,7 @@ Arg
...
- Specification of columns to nest. Use bare variable names or
+
Specification of columns to unnest. Use bare variable names or
functions of variables. If omitted, defaults to all list-cols.