hits=10>
Dr John Hillier
Senior Lecturer & NERC Knowledge Exchange Fellow (Insurance Sector)
Geography and Environment
Loughborough University
01509 223727
____________
From: Bert Gunter
Sent: 09 January 2019 23:37:01
To: Jeff Newmiller
Cc: R-help; John Hillier
Subject: Re
John:
Clarification: Do you mean you just want an "irregular" subset of your
*given* data values/times, or do you want times randomly over the series
duration for which you will construct values, which is what Jeff described.
The former is trivial: see ?sample with the "replace" argument = FALSE
The key to accomplishing this is to clarify how you want to address selecting
values between the existing points, but there are many base R functions and
packages that address this problem. In general the methods fall into two
categories: interpolation and smoothing. Interpolation includes piece
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
4 matches
Mail list logo