search for: rep_dat

Displaying 4 results from an estimated 4 matches for "rep_dat".

Did you mean: rep_data
2018 May 09
0
Seasonal weekly average
Hi Shakeel, Assuming that you are starting with a bunch of dates: # make a vector of character strings that can be converted to dates rep_dates<-paste(sample(1:30,500,TRUE),sample(1:12,500,TRUE), sample(2013:2017,500,TRUE),sep="/") # if this isn't your format, change it date_format<-"%d/%m/%Y" # create a data frame with a column of dates rep_df<-data.frame(rep_dates=as.Date(rep_dates,format=date_format))...
2018 May 09
3
Seasonal weekly average
Hi, I am fairly new to 'R' and would like advice on the following. I want to calculate a weekly average number of reports (e.g. of flu, norovirus) based on the same weeks for the last five years. I will then use this to plot a chart with 52 points for the average based on the last five years; another line will then plot the current year, enabling a comparison of current weekly counts
2006 Aug 07
1
datetime_select problems
Hi, I have a datetime select in my form like this: DATE/TIME REPORTED: <%= datetime_select ''report'', ''rep_date'' %> This works beautifully for creating a new record. The data is saved as: 2006-08-07 11:33:00 Now, the problem is when I try to load the form with saved values to do an update. The above code works and loads the saved data in another one of my update forms, and the only differ...
2010 Jan 06
2
problem with strptime and 2010 dates
...1/10/2009" "11/17/2009" "11/24/2009" "12/2/2009" [16] "12/9/2009" "12/16/2009" "12/23/2009" "12/30/2009" "1/6/2010" which makes me think I'm doing something wrong in my strptime() call. as.character(bug_table$rep_date) Thanks very much for your help [[alternative HTML version deleted]]