index_summary | R Documentation |
These functions check if the index is regular (index_regular()
), and
summarise the index variable (index_summary()
). This can be useful
to check your index variables.
index_regular(.data, ...) ## S3 method for class 'tbl_ts' index_regular(.data, ...) ## S3 method for class 'data.frame' index_regular(.data, index, ...) index_summary(.data, ...) ## S3 method for class 'tbl_ts' index_summary(.data, ...) ## S3 method for class 'data.frame' index_summary(.data, index, ...)
.data |
data.frame or tsibble |
... |
extra arguments |
index |
the proposed index variable |
logical TRUE means it is regular, FALSE means not
# a tsibble index_regular(heights) # some data frames index_regular(pisa, year) index_regular(airquality, Month) # a tsibble index_summary(heights) # some data frames index_summary(pisa, year) index_summary(airquality, Month) index_summary(airquality, Day)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.