Displaying 2 results from an estimated 2 matches for "daysinmonths".
2008 Apr 23
1
Time arithmetic
I am a bit worried I am reinventing the wheel. Isn't there a calendar
system in R?
I have written a function to add months to a date and return the number of
days resulting. I am newish to R so I am hoping there is a package that
can do this sort of date arithmetic for me...
Worik
DaysInMonths <- function(s,d){
## Days in d months from s
sdate <- MSTD(s)
## Get day, month and the year
sd <- as.double(days(sdate))
sm <- as.double(months(sdate))
sy <- as.double.difftime(years(sdate))
sm <- sm+d
while(sm > 12){
sm <- sm-12
sy <- sy+1
}...
2007 Apr 27
0
[ANN:] new package xlsReadWrite*Pro*: announce + update.
I am happy to announce that a new version of xlsReadWritePro is available.
xlsReadWritePro natively reads and writes Excel files (v97 - 2003) on
Windows. The pro version is more powerful than the free version but,
beeing a small company, we ask you to support our development and
maintenance effort.
The following capabilities have been added (compared to xlsReadWrite):
? in-memory objects