Re: [R] date & time manipulation- R 2.15.1 windows 7

2013-03-18 Thread yash kajaria
) > date2<-"2013-01-26" > wday(ymd(date2),label=TRUE) > # 1 parsed with %Y-%m-%d > #[1] Sat > > > week(ymd(date2)) > # 1 parsed with %Y-%m-%d > #[1] 4 > A.K. > > ----- Original Message - > From: yash kajaria > To: r-help@r-project.org >

Re: [R] date & time manipulation- R 2.15.1 windows 7

2013-03-14 Thread arun
t.org Cc: Sent: Thursday, March 14, 2013 9:45 AM Subject: [R] date & time manipulation- R 2.15.1 windows 7 Hi,     I wanted to learn how to solve a date and time manipulation where i can do the following two     1. difference of two dates eg (differnce between 5th jan 2013 and 1st jan 2013)  

Re: [R] date & time manipulation- R 2.15.1 windows 7

2013-03-14 Thread Gabor Grothendieck
On Thu, Mar 14, 2013 at 9:45 AM, yash kajaria wrote: > Hi, > I wanted to learn how to solve a date and time manipulation where i can > do the following two > 1. difference of two dates eg (differnce between 5th jan 2013 and 1st > jan 2013) > > 2.Suppose i have week number of the year,

Re: [R] date & time manipulation- R 2.15.1 windows 7

2013-03-14 Thread John Kane
-project.org > Subject: [R] date & time manipulation- R 2.15.1 windows 7 > > Hi, > I wanted to learn how to solve a date and time manipulation where i > can > do the following two > 1. difference of two dates eg (differnce between 5th jan 2013 and 1st > jan 2013) >

[R] date & time manipulation- R 2.15.1 windows 7

2013-03-14 Thread yash kajaria
Hi, I wanted to learn how to solve a date and time manipulation where i can do the following two 1. difference of two dates eg (differnce between 5th jan 2013 and 1st jan 2013) 2.Suppose i have week number of the year, i want to know if i can find out the day it refers to eg( say week