Hi Rainer,

Thanks for your pointer. However I was not looking the week number for the
underlying year. Rather, week number for the underlying month.

For example, if the date is 8/14/2013 then I should get the week number as
'3'. Because it is 3rd week of August month.

Any help on that?

Thanks and regards,


On Wed, Aug 14, 2013 at 10:30 PM, Rainer Schuermann <
rainer.schuerm...@gmx.net> wrote:

> What about
> ?lubridate
> particulatrly week()?
>
>
> On Wednesday 14 August 2013 22:00:42 Christofer Bogaso wrote:
> > Hello again,
> >
> > I need to calculate the week number of the corresponding month given a
> date.
> >
> > Is there any function available with R to calculate that?
> >
> > Thanks and regards,
> >
> >       [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to