Displaying 1 result from an estimated 1 matches for "inmonth".
Did you mean:
sinmonth
2006 Apr 19
0
Function for computing the difference between 2 dates inmonths
...iginal Message-----
From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Ana Patricia Martins
Sent: Wednesday, April 19, 2006 8:45 AM
To: Smith, Phil
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] Function for computing the difference between 2 dates inmonths
Hi,
I tried to apply the function you developed to my data file, which had to be
created as follows:
date1<-sub(' - -
','',paste(substring(ie[,],257,260),substring(ie[,],255,256),substring(ie[,]
,253,254),sep="-"))
Your functions works well only in example #1 b...