base-sample: sample

Description Value Examples

Description

Takes a sample of the specified size from the elements of a 'timeSeries.

Value

Returns a resampled 'timeSeries' object.

Examples

1
2
3
4
5
6
7
8
   
## Monthly Calendar Series -    
   x <- daily2monthly(LPP2005REC[, 1:2])[3:14, ]
   
## Resample the Series with respect to the time stamps -    
   resampled <- sample(x)
   resampled
   is.unsorted(resampled)

timeSeries documentation built on May 19, 2017, 11:43 p.m.

Search within the timeSeries package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.