search for: 2009

Displaying 20 results from an estimated 44069 matches for "2009".

Did you mean: 2005
2009 Mar 27
1
Re sults sometimes in seconds with difftime unit=mins
...minutes as expected). Have you already seen this behaviour ? Any idea to solve this problem ? Thanks in advance. Have a good week-end, Ptit Bleu. ------------------------------------------------------------------------ > strptime(datajour$Date, format="%Y-%m-%d %H:%M:%S") [1] "2009-03-26 11:21:31" "2009-03-26 11:22:17" "2009-03-26 11:27:18" "2009-03-26 11:36:59" "2009-03-26 11:41:59" "2009-03-26 11:46:59" [7] "2009-03-26 11:51:59" "2009-03-26 11:57:00" "2009-03-26 12:02:00" "2009-03-26...
2010 Feb 20
3
Error Bars in lattice- barcharts
...norm(81*5)) err <- as.data.frame(temp) err$section=c("down","down","down","mid","mid","mid", "up","up", "up") err$depth=c("Surface","D50", "2xD50") err$err.date=c("05/09/2009","05/09/2009","05/09/2009","05/09/2009","05/09/2009","05/09/2009","05/09/2009","05/09/2009","05/09/2009","05/10/2009","05/10/2009","05/10/2009","05/10/2009","05/10/2009&...
2009 Jul 25
1
a question about replacing a column that is factor
...on't know how to fix it. Can someone help me to figure this out? The following is what I did thanks jlm > head(FDLFDPdata0000[FDLFDPdata0000$ID==69912008,]) ID Target Actual Date Time tempcalved2 tempLact2 DIM 69912008 50 0.0 2008-01-16 14:42:00 2009-04-14 1 -454 69912008 50 51.8 2008-01-17 05:23:00 2009-04-14 1 -453 69912008 50 0.0 2008-01-17 14:01:00 2009-04-14 1 -453 69912008 50 -53.8 2008-01-17 16:36:00 2009-04-14 1 -453 69912008 0 -26.0 2008-...
2010 Jul 05
3
data.frame: adding a column that is based on ranges of values in another column
...ion. Suppose I have the following data.frame: DF = data.frame(X = c(114.5508, 114.6468, 114.6596, 114.6957, 114.6828, 114.8903, 114.9519, 114.8842, 114.8579, 114.8489), Y = c(47.14094, 46.98874, 46.91235, 46.88265, 46.80584, 46.67022, 46.53264, 46.47727, 46.46457, 46.47032), Date = as.Date(c('2009-01-01', '2009-01-03', '2009-01-05', '2009-01-10', '2009-01-14', '2009-01-15', '2009-01-16', '2009-01-17', '2009-01-22', '2009-01-29'))) DF X Y Date 1 114.5508 47.14094 2009-01-01 2 114.6468 46.9887...
2011 Jul 18
1
nls() and lines()
All - I'm having an issue with trying to plot a model derived from nls() onto a simple plot.? I have included a sample data set and the code that I've been using. ?? year month day?????? date location mileage? cost gallon????? cpg ? mpg????????? x 2009???? 1?? 4?? 1/4/2009????? BZN? 124585 19.39? 14.37 1.349339 10.71677 2009-01-04 2009???? 1? 15? 1/15/2009????? BZN? 124888? 23.2? 16.12 1.439206 18.79653 2009-01-15 2009???? 1? 27? 1/27/2009????? BZN? 125133 21.51? 14.35 1.498955 17.07317 2009-01-27 2009???? 2? 16? 2/16/2009????? BZN? 125429 27.96?...
2009 Oct 10
2
Matching Dates Closest without going over
...53, 14441, 14396, 14388, 14343, 14333, 14310, 14281), class = "Date") I would like to create another dataframe with columns d1 and d2, where d1 is the original d1 and d2 is the max(d2) such that d1 > d2. And NA's where not applicable. (See desired result below) Thanks, Ampy d1 2009-10-09 2009-09-08 2009-08-08 2009-07-08 2009-06-07 2009-05-07 2009-04-06 2009-03-06 2009-02-03 2009-01-03 2008-12-03 2008-11-02 d2 2009-10-09 2009-09-22 2009-09-01 2009-08-10 2009-07-28 2009-07-16 2009-06-01 2009-05-24 2009-04-09 2009-03-30 2009-03-07 2009-02-06 result: d1...
2010 Jun 21
2
difference in dates
Dear R People: I have a data frame with the two following date columns: > a.df[1:10,c(1,6)] DATE DEATH 1207 2009-04-16 2009-05-06 1514 2009-04-16 2009-05-06 2548 2009-04-16 2009-05-08 3430 2009-04-16 2009-05-09 3851 2009-04-16 2009-05-09 3945 2009-04-16 2009-05-09 7274 2009-04-16 2009-05-12 7532 2009-04-16 2009-05-12 7651 2009-04-16 2009-05-12 8495 2009-04-16 2009-05-13 > I would like to generate a 3rd co...
2009 Nov 19
6
Surprising length() of POSIXlt vector (PR#14073)
Arrays of POSIXlt dates always return a length of 9. This is correct (they're really lists of vectors of seconds, hours, and so forth), but other methods disguise them as flat vectors, giving superficially surprising behaviour: strings <- paste('2009-1-', 1:31, sep='') dates <- strptime(strings, format="%Y-%m-%d") print(dates) # [1] "2009-01-01" "2009-01-02" "2009-01-03" "2009-01-04" "2009-01-05" # [6] "2009-01-06" "2009-01-07" "2009-0...
2010 Feb 09
1
Superimpose ksmooth() onto barplot
I'd like to superimpose a ksmooth() onto a barplot(). My data is: > d 2009-06-20 2009-06-21 2009-06-22 2009-06-23 2009-06-24 2009-06-25 2009-06-26 2009-06-27 2009-06-28 2009-06-29 2009-06-30 2009-07-01 2009-07-02 Same Breed (B) 12.64 21.08 13.52 12.51 13.71 9.91 14.24 7.18 11.81 5.92 12.04 17.96 2.9...
2010 Dec 17
3
Alternative to extended recode sintax?
Dear R-users, I have a factor variable within my data frame which I derive week after week from a POSIXct variable using the cut(var,"weeks") command I have found in the chron package. The levels() command gives me: [1] "2009-03-30 00:00:00" "2009-04-06 00:00:00" "2009-04-13 00:00:00" "2009-04-20 00:00:00" "2009-04-27 00:00:00" "2009-05-04 00:00:00" "2009-05-11 00:00:00" "2009-05-18 00:00:00" [9] "2009-05-25 00:00:00" "2009-06-01...
2010 Jan 06
2
problem with strptime and 2010 dates
..."time_pct", "compl", "work_delta", "mean_delta", "balance", "total", "total_delta", "work", "index", "mean_pd_per_day") If I list the date element cur_date, I get: > work_table$cur_date [1] 8/17/2009 8/30/2009 9/6/2009 9/13/2009 9/20/2009 9/27/2009 [7] 10/4/2009 10/13/2009 10/20/2009 10/27/2009 11/3/2009 11/10/2009 [13] 11/17/2009 11/24/2009 12/2/2009 12/9/2009 12/16/2009 12/23/2009 [19] 12/30/2009 1/6/2010 This is correct. The line that produces the bad output is: dt <-strptim...
2009 Aug 21
0
CentOS 4 i386 and x86_64 updates
The following updates have been released along with the CentOS 4.8 release (for i386 and x86_64). Individual announcements will not be made for these updates. Advisory Synopsis Date CESA-2009:1218 Critical: pidgin security update 2009-08-18 CESA-2009:1219 Important: libvorbis security update 2009-08-18 CEEA-2009:1214 tzdata enhancement update 2009-08-17 CESA-2009:1209 Moderate: curl security update 2009-08-13 CESA-2009:1211 Important: kernel security update 2009-08-13 CESA-2...
2009 Oct 21
2
How to average subgroups in a dataframe? (not sure how to apply aggregate(..))
Dear all, Lets say I have the following data frame: > set.seed(1) > col1 <- c(rep('happy',9), rep('sad', 9)) > col2 <- rep(c(rep('alpha', 3), rep('beta', 3), rep('gamma', 3)),2) > dates <- as.Date(rep(c('2009-10-13', '2009-10-14', '2009-10-15'),6)) > score=rnorm(18, 10, 3) > df1<-data.frame(col1=col1, col2=col2, Date=dates, score=score) col1 col2 Date score 1 happy alpha 2009-10-13 8.120639 2 happy alpha 2009-10-14 10.550930 3 happy alpha 2009-10-15 7.49...
2012 Mar 01
1
fill data forward in data frame.
...ing like this: xx[weekdays(xx[,1]) == "Friday",] ...to get a weekly series of Friday values. I'm thinking someone probably has a faster way of doing this. I have to do this many times, so speed is important. Thanks! Here is what I have done so far: dt <- seq(from =as.Date("2009-06-01"), to = Sys.Date(), by = "day") > nms [1] "2009-06-30" "2009-09-30" "2009-12-31" "2010-03-31" "2010-06-30" "2010-09-30" "2010-12-31" "2011-03-31" "2011-06-30" "2011-09-30" [1...
2006 Mar 20
2
subsetting and NAs
...0.0 <NA> NA 3 4499 6009K <NA> 0.9 135.0 <NA> NA 4 4500 6009K <NA> 1.1 165.0 <NA> NA 5 4501 6009K <NA> 1.5 225.0 <NA> NA 2587 7083 9206N 4/8/2009 1.5 103.5 2009-04-08 2009 2588 7084 9206N 4/10/2009 1.3 89.7 2009-04-10 2009 2589 7085 9206N 4/11/2009 1.9 131.1 2009-04-11 2009 2590 7086 9206N 4/12/2009 1.3 89.7 2009-04-12 2009 2591 7087 9206N 4/15/2009 1.1 75....
2009 Jun 08
0
New winetricks 20090607: new verbs d3dx9, fontsmooth-foo, vb2run, vcrun2008sp1, wme9, xact
Another, er, quarter, another winetricks. Online as always at http://kegel.com/wine/winetricks or http://winezeug.googlecode.com Thanks to Austin English for taking on most of the work keeping winetricks up to date! (And apologies for my own slowness in doing another release.) Changes since 20090116: ------------------------------------------------------------------------ r491 | daniel.r.kegel | 2009-06-07 17:36:52 -0700 (Sun, 07 Jun 2009) | 2 lines Bump version, mention that Dan still maintains too. ------------------------------------------------------------------------ r489 | daniel....
2009 Feb 05
3
Samba and NetAPP filers, the PDC problem...
Hello Is there any hope one day a Samba PDC will work with NetAPP filer ??? I mean will it be possible to register a filer as a machine in a Samba PDC ? I fails since years and I never had any clear explainations about it. Couls someone ( Mr Bartlett ? ) tell me why it had never be possible ? Thanks a lot.
2012 Nov 10
4
help on date dataset
Hi everybody, I am beginer in R and I need your precious help. I want to create a small function in R as in sas to retrieve date. I have a file with data that import in R. DATE PAYS nb_pays.ILI. 1 24/04/2009 usa 0 2 24/04/2009 usa 0 3 24/04/2009 Mexique 0 4 24/04/2009 Mexique 0 5 26/04/2009 usa 20 6 26/04/2009 usa 20 7 26/04/2009...
2012 Apr 16
0
Attachment
...12-09 -0,014422343 2008-12-10 0,003370996 2008-12-11 -0,006768363 2008-12-12 -0,002279766 2008-12-15 -0,011581873 2008-12-16 0,011581873 2008-12-17 0,015712625 2008-12-18 0,009808824 2008-12-19 -0,003245055 2008-12-22 -0,016599262 2008-12-23 0,011136366 2008-12-29 -0,005532489 2008-12-30 0,02171925 2009-01-02 0,024705873 2009-01-05 0,010870281 2009-01-07 -0,0068859 2009-01-08 0,00099041 2009-01-09 -0,008996065 2009-01-12 -0,001011163 2009-01-13 -0,009208002 2009-01-14 -0,043465694 2009-01-15 -0,009240657 2009-01-16 0,021633818 2009-01-19 -0,007845533 2009-01-20 0,00225608 2009-01-21 0,003362297 20...
2009 Apr 27
2
series at low freq expanded into high freq
...dd of daily dates, what's a good way of expanding mm such that corresponding to each day in dd within the corresponding month in mm, the values of mm are repeated? So e.g., if I have mm: mm <- c(15, 10, 12, 13, 11) names(mm)<-c("Nov 2008", "Dec 2008", "Jan 2009", "Feb 2009", "Mar 2009") library(zoo) mm <- zoo(mm, order.by = as.yearmon(names(mm), format="%b %Y")) And days: dd <- as.Date(c("03/11/2008", "05/11/2008", "04/01/2009","02/02/2009","17/02/2009",&quo...