search for: wkday

Displaying 2 results from an estimated 2 matches for "wkday".

Did you mean: wday
2007 Dec 13
1
counting weekday in a month in R
...as far as extracting the weekdays from a sequence of dates (see below). But I have not yet figured out a fast way of counting without using a For Loop. Does anyone know how to do such counting efficiently in R? Thanks! library(chron) dts=seq(dates("1/4/01"),dates("3/31/01"),1) wkday=dts[!is.weekend(dts)] weekdays(wkday) [1] Thu Fri Mon Tue Wed Thu Fri Mon Tue Wed Thu Fri Mon Tue Wed Thu Fri Mon Tue Wed [21] Thu Fri Mon Tue Wed Thu Fri Mon Tue Wed Thu Fri Mon Tue Wed Thu Fri Mon Tue Wed [41] Thu Fri Mon Tue Wed Thu Fri Mon Tue Wed Thu Fri Mon Tue Wed Thu Fri Mon Tue Wed [61] T...
2000 Sep 22
1
Newbie question - handling dates as x-axis variable
...atory" environment. I'm especially pleased that I can investigate R in a Windows environment knowing that it's available as we move to Linux ...) Thanks in advance for any help -- Mike Mastroianni ================================== For reference, the CSV data looks like this: "WKDAY","HR","DAYT","DAMMKT","RTMMKT" "Fri",0,"01/07/00",16.16,17.51 "Fri",0,"01/14/00",21.91,51.15 "Fri",0,"01/21/00",31.25,21.38 "Fri",0,"01/28/00",36.01,41.77 "Fri",1,&...