[R] Interpolation of data

0 views
Skip to first unread message

spr...@na.uni-tuebingen.de

unread,
Jul 10, 2008, 2:15:42 AM7/10/08
to r-h...@r-project.org
Hello,

I have the data whcih are not balanced (several missing observations),
and one possibility is t use interpolation method
to get the information missing in this series from other series.
Does anybody know how I can program interpolation of
series1 (which ahs missing observations) and series 2-6,
for example.
Thanks a lot in advance,
Silke

______________________________________________
R-h...@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Daniel Malter

unread,
Jul 10, 2008, 6:39:27 AM7/10/08
to r-h...@r-project.org

Please do read the posting guide. Please provide self-contained code (calls
to randomly generated data) and illustrate (e.g. in a small table) what you
want to do and also illustrate (with the self-contained code) where your
current approach (if any) fails. After reading your message, I have only a
very vague idea of what you are trying to do.

Best,
Daniel

--
View this message in context: http://www.nabble.com/Interpolation-of-data-tp18378381p18380125.html
Sent from the R help mailing list archive at Nabble.com.

Daniel Malter

unread,
Jul 10, 2008, 6:40:52 AM7/10/08
to r-h...@r-project.org

Please do read the posting guide. Please provide self-contained code (e.g. to
randomly generate data) and illustrate (e.g. in a small table) what you want
to do and also illustrate (with the self-contained code if any) what you
currently so that we know why you fail. After reading your message, I have
only a very vague idea of what you are trying to do. You are trying to fill
in some data with data from some other columns I guess. But how precisely?

Daniel Malter

unread,
Jul 10, 2008, 6:41:45 AM7/10/08
to r-h...@r-project.org

Please do read the posting guide. Please provide self-contained code (e.g. to
randomly generate data) and illustrate (e.g. in a small table) what you want
to do and also illustrate (with the self-contained code if any) what you
currently do so that we know why you fail. After reading your message, I

have only a very vague idea of what you are trying to do. You are trying to
fill in some data cells in a column with data from some other columns I

stephen sefick

unread,
Jul 10, 2008, 9:57:42 AM7/10/08
to Daniel Malter, r-h...@r-project.org
if it is a time series the interpolation methods in zoo are an option.

On Thu, Jul 10, 2008 at 6:41 AM, Daniel Malter <dan...@umd.edu> wrote:

>
> Please do read the posting guide. Please provide self-contained code (e.g.
> to
> randomly generate data) and illustrate (e.g. in a small table) what you
> want


> to do and also illustrate (with the self-contained code if any) what you
> currently do so that we know why you fail. After reading your message, I
> have only a very vague idea of what you are trying to do. You are trying to
> fill in some data cells in a column with data from some other columns I
> guess. But how precisely?
>

--
Let's not spend our time and resources thinking about things that are so
little or so large that all they really do for us is puff us up and make us
feel like gods. We are mammals, and have not exhausted the annoying little
problems of being mammals.

-K. Mullis

[[alternative HTML version deleted]]

Don MacQueen

unread,
Jul 10, 2008, 10:10:48 AM7/10/08
to spr...@na.uni-tuebingen.de, r-h...@r-project.org
Try

help.search('interpolate')
and
help.search('impute')

(most of the responses to the latter come from packages that you may
not have installed, such as Hmisc)

-Don

At 8:15 AM +0200 7/10/08, spr...@na.uni-tuebingen.de wrote:
>Hello,
>
>I have the data whcih are not balanced (several missing observations),
>and one possibility is t use interpolation method
>to get the information missing in this series from other series.
>Does anybody know how I can program interpolation of
>series1 (which ahs missing observations) and series 2-6,
>for example.
>Thanks a lot in advance,
>Silke
>
>______________________________________________
>R-h...@r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.


--
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
925-423-1062

Mike Lawrence

unread,
Jul 10, 2008, 10:13:06 AM7/10/08
to spr...@na.uni-tuebingen.de, r-h...@r-project.org
Does this thread solve your problem? -> https://stat.ethz.ch/pipermail/r-help/2007-July/136814.html
Reply all
Reply to author
Forward
0 new messages