search for: allday

Displaying 6 results from an estimated 6 matches for "allday".

Did you mean: alldat
2012 Dec 08
2
Why my lapply doesn't work with FUN=as.Date
Hi, guys I don't understand why I can apply as.Date to a single item in the list: > as.Date(alldays[4]) [1] "29-03-20" but when I try to lapply as.Date to all the items, i got a sequence of neg numbers: > sapply(alldays[1:4], FUN=as.Date) 03-04-2012 02-04-2012 30-03-2012 29-03-2012 -718323 -718688 -708492 -708857 does anyone know what's wrong here? i am very conf...
2008 Nov 19
2
Exclude holidays in a subset of dates?
...hought the easiest way would be to create a TRUE/FALSE vector corresponding to each day where it is TRUE if a workday, and FALSE if a weekend or holiday. So far I have been able to do this for weekdays: startDate <- as.Date("2008-08-15") endDate <- as.Date("2008-09-15") AllDays <- seq(startDate, endDate, by="day") WorkDays <- ifelse(as.numeric(format(startDate+days-1, "%w"))%%6==0, FALSE, TRUE) But I'm a bit lost as to what to do for the holidays, for example "2008-09-01" is Labor Day in the above range. Is there some procedure...
2003 May 14
2
number of patients in a hospital on a given date
Dear R-users! I am using R 1.7.0, under Windows XP. Having some hospital discharge data (admission date and discharge date for each patient), I want to get the number of patients in the hospital on a given date. My data look like (simple example): > x <- data.frame(patid=c("pat1", "pat2"), adm.date = c("15.03.2002", "16.03.2002"),
2012 Oct 30
1
pass javascript date variable to rails controller as params
...I am getting the date in the format of "Tue Oct 30 2012 12:40:20 GMT+0530 (IST)".. But when I pass as params in jquery ajax to rails controller, it is passing blank. How do I get it in rails controller successfully. Please find my code for dayclick below. dayClick: function(date, allDay, jsEvent, view) { var date = $(''#calendar'').fullCalendar(''getDate''); alert(date); $.get("<%=update_projects_admins_users_path%>", { id:''<%=params[:...
2005 Nov 08
2
A Quick and (Very) Dirty Intro to Stats in R
...) in order to teach an R workshop for the graduate students in my department. This is a guide for your everyday stats crunchers who want to free themselves from the cycle of SAS updates, have more flexibility than JMP or Statview will allow, but are not hardcore programming/think-about-stats-allday types. These are people who get data from the natural world, and then find out what it's telling them. So, to that end, I've put the guide together, and would be very interested in any comments you all would have. Are there any statistical methods that you think I really should have i...
2006 Aug 26
7
Erratic behavior with ferret 0.95 and acts_as_ferret
I am getting this issue also... Does anyone know what this is? When will Acts as Ferret be available for v10? Thanks for your help in desperation! Caspar wrote: > Okay previous post related to me trying to fix this problem with an > upgrade to ferret 0.10.0 but acts as ferret is obviously not compatible > with this new version of ferret. > My app is about to go into production and