Re: [R] difference between 2 dates: IN MONTHS the way Motherscompute it

2006-03-12 Thread Francisco J. Zagmutt
I am missing somehting, but what is it?? Thanks Francisco From: Gabor Grothendieck [EMAIL PROTECTED] To: Francisco J. Zagmutt [EMAIL PROTECTED] CC: [EMAIL PROTECTED], r-help@stat.math.ethz.ch Subject: Re: [R] difference between 2 dates: IN MONTHS the way Motherscompute it Date: Fri, 10 Mar 2006

Re: [R] difference between 2 dates: IN MONTHS the way Motherscompute it

2006-03-12 Thread Gabor Grothendieck
PROTECTED] To: Francisco J. Zagmutt [EMAIL PROTECTED] CC: [EMAIL PROTECTED], r-help@stat.math.ethz.ch Subject: Re: [R] difference between 2 dates: IN MONTHS the way Motherscompute it Date: Fri, 10 Mar 2006 21:01:55 -0500 as.yearmon has a character method so its not necessary to convert it to Date

Re: [R] difference between 2 dates: IN MONTHS the way Motherscompute it

2006-03-12 Thread Francisco J. Zagmutt
. Zagmutt [EMAIL PROTECTED] CC: [EMAIL PROTECTED], r-help@stat.math.ethz.ch Subject: Re: [R] difference between 2 dates: IN MONTHS the way Motherscompute it Date: Sun, 12 Mar 2006 21:13:50 -0500 Maybe you have an old version of zoo? When I run the first one I get 1. I am using R 2.2.1 under Windows

Re: [R] difference between 2 dates: IN MONTHS the way Motherscompute it

2006-03-10 Thread Francisco J. Zagmutt
Grothendieck [EMAIL PROTECTED] To: Smith, Phil [EMAIL PROTECTED] CC: r-help@stat.math.ethz.ch Subject: Re: [R] difference between 2 dates: IN MONTHS the way Motherscompute it Date: Fri, 10 Mar 2006 13:38:12 -0500 zoo has the yearmon class which will convert a date to a year + 0/12 to 11/12 to represent

Re: [R] difference between 2 dates: IN MONTHS the way Motherscompute it

2006-03-10 Thread Gabor Grothendieck
@stat.math.ethz.ch Subject: Re: [R] difference between 2 dates: IN MONTHS the way Motherscompute it Date: Fri, 10 Mar 2006 13:38:12 -0500 zoo has the yearmon class which will convert a date to a year + 0/12 to 11/12 to represent the month, disregarding the day, so: library(zoo) 12