Re: [R] assigning creating missing rows and values

2011-05-13 Thread Adele_Thompson
...@comcast.net; r-help@r-project.org Subject: Re: [R] assigning creating missing rows and values Adele: You are of course correct -- my earlier proposed solution is dumb (thank you for being polite and not saying this :-) ) With your more complete explanation -- which might have helped you get a

Re: [R] assigning creating missing rows and values

2011-05-13 Thread Bert Gunter
eigh the difference and then output the cumulative feed eaten that day. > I can take the difference at each weighing so the numbers are the amount > eaten at that feeding time, and then go back and use cumsum, but that seems a > bit round about. > > > -Original Message- >

Re: [R] assigning creating missing rows and values

2011-05-13 Thread Adele_Thompson
, 2011 05:49 PM To: Thompson, Adele - adele_thomp...@cargill.com Cc: dwinsem...@comcast.net Subject: Re: [R] assigning creating missing rows and values ... Your detailed subject matter knowledge is always more relevant than my general statistical comments. If you are recording something like total

Re: [R] assigning creating missing rows and values

2011-05-12 Thread Adele_Thompson
-project.org Subject: Re: [R] assigning creating missing rows and values ... But beware: Last observation carried forward is a widely used but notoriously bad (biased) way to impute missing values; and, of course, inference based on such single imputation is bogus (how bogus depends on how much

Re: [R] assigning creating missing rows and values

2011-05-12 Thread Bert Gunter
... But beware: Last observation carried forward is a widely used but notoriously bad (biased) way to impute missing values; and, of course, inference based on such single imputation is bogus (how bogus depends on how much imputation, among other things, of course). Unfortunately, dealing with suc

Re: [R] assigning creating missing rows and values

2011-05-12 Thread David Winsemius
On May 12, 2011, at 4:33 PM, Schatzi wrote: I have a dataset where I have missing times (11:00 and 16:00). I would like the outputs to include the missing time so that the final time vector looks like "realt" and has the previous time's value. Ex. If meas at time 15:30 is 0.45, then the m

[R] assigning creating missing rows and values

2011-05-12 Thread Schatzi
I have a dataset where I have missing times (11:00 and 16:00). I would like the outputs to include the missing time so that the final time vector looks like "realt" and has the previous time's value. Ex. If meas at time 15:30 is 0.45, then the meas for time 16:00 will also be 0.45. meas are the mea