[R] Resampling 1 time series at another set of (known) irregularly spaced times

John Hillier J@Hillier @ending from lboro@@c@uk
Wed Jan 9 23:55:04 CET 2019


Dear All,


I would appreciate a quick pointer in the right direction (e.g. www page I could look at, or indicator of which function within a package).


The problem: I have a regular time series of values x at times t (i.e. t, x). I would like to sample them at irregular, known times - this is a second time series (T).


I can move these data between formats as required (i.e. file, vector, matrix, ts etc ....)


I have been searching around for a while and found many packages to regularise time-series (e.g. xts, lubricate, ..... ), but not the reverse as I want to.


Before you ask, I know it might seem a bit odd, but it is necessary for the particular question I'm asking.


Thank you for your time,


John


-------------------------
Work days: Mon-Thurs
Web page: <http://homepages.lboro.ac.uk/~gyjh5/> <http://www.lboro.ac.uk/departments/geography/staff/john-hillier/> http://www.lboro.ac.uk/departments/geography/staff/john-hillier/
Latest research: http://publications.lboro.ac.uk/publications/all/collated/gyjh5.html<https://lb-public.lboro.ac.uk/cgi-bin/personcite?username=gyjh5&dobranding=1&hits=10>

Dr John Hillier
Senior Lecturer & NERC Knowledge Exchange Fellow (Insurance Sector)
Geography and Environment
Loughborough University
01509 223727

	[[alternative HTML version deleted]]



More information about the R-help mailing list