Description Usage Arguments Value Examples
Coercion to zoo
1  | as.zoo.uts_vector(x, ...)
 | 
x | 
 a   | 
... | 
 further arguments passed to or from methods.  | 
A zoo object.
1 2 3 4 5 6 7 8  | if (requireNamespace("zoo", quietly = TRUE)) {
  # Bivariate uts_vector with synchronized observation times
  utsv <- c(a=ex_uts(), b=ex_uts() + 3)
  zoo::as.zoo(utsv)
  
  # # Bivariate uts_vector with non-synchronized observation times
  zoo::as.zoo(ex_uts_vector())
}
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.