Re: [R] Filling in missing values in a column based on previousandfollowingvalues

2014-08-04 Thread Florian Denzinger
Hi John, I only meant the subsetting of the dataframe by using the zoo function suggested by Gerrit! Not a new solution/function, I am afraid. Regards, F Am 04.08.2014 um 14:13 schrieb John McKown : > On Mon, Aug 4, 2014 at 6:34 AM, Florian Denzinger > wrote: >> Shortly after

Re: [R] Filling in missing values in a column based on previousandfollowingvalues

2014-08-04 Thread Florian Denzinger
Shortly after answering to your first email, I got to solution. Sorry for the unnecessary noise. Regards, F Am 04.08.2014 um 12:00 schrieb Gerrit Eichner : > On Mon, 4 Aug 2014, Florian Denzinger wrote: > >> this is great, thanks! >> >> one problem I noticed though

Re: [R] Filling in missing values in a column based on previousandfollowing values

2014-08-04 Thread Florian Denzinger
this is great, thanks! one problem I noticed though is that it fills all NA values in every column, is it possible to specify only one column, e.g. only ID (I have NA values in another column I want to keep) Kind regards, Florian Am 04.08.2014 um 11:31 schrieb Gerrit Eichner : > Hello, F

Re: [R] Multiple plots and postscripts using split function

2014-08-01 Thread Florian Denzinger
Thank you everyone for your help so far. I am still working on the problem to get a merged new dataframe which fills in new rows with NA values for each year that is missing for plotting with gaps ( in the example the item BARTLEY: years 1984 to 1987 should be filled with a row containing NA v