search for: 2012

Displaying 20 results from an estimated 34629 matches for "2012".

Did you mean: 2002
2017 Oct 26
2
Help needed with aggregate or other solution
...ue. My data: structure(list(date = structure(c(1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L, 16L, 17L, 18L, 19L, 20L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L, 16L, 17L, 18L, 19L, 20L, 21L, 22L, 23L, 24L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L, 16L), .Label = c("2012-01-25 18:00:00", "2012-01-26 00:00:00", "2012-01-26 06:00:00", "2012-01-26 12:00:00", "2012-01-26 18:00:00", "2012-01-27 00:00:00", "2012-01-27 06:00:00", "2012-01-27 12:00:00", "2012-01-27 18:00:00", "2012-01...
2017 Oct 26
3
Help needed with aggregate or other solution
...e now 3 date columns (it looks like 2 cols are merged into 1 col) (2) the output rows should not have any of the basistime dates repeated (maybe I misstated the problem); I need the max fcst value by basistime, but also list the date value for that row; for example: basistime fcst 1 2012-01-25 15:02:00 47.9 2 2012-01-26 15:11:00 50.4 3 2012-01-27 01:41:00 46.0 4 2012-01-27 10:15:00 47.3 5 2012-01-27 15:15:00 47.3 6 2012-01-28 14:22:00 46.2 7 2012-01-29 13:33:00 45.8 8 2012-01-30 14:11:00 44.8 9 2012-01-31 14:24:00 43.9 10 2012-02-01 14:55:00 41.1 11 2012-02-02 14:...
2017 Oct 26
0
Help needed with aggregate or other solution
...### dta <- structure(list(date = structure(c(1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L, 16L, 17L, 18L, 19L, 20L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L, 16L, 17L, 18L, 19L, 20L, 21L, 22L, 23L, 24L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L, 16L), .Label = c("2012-01-25 18:00:00", "2012-01-26 00:00:00", "2012-01-26 06:00:00", "2012-01-26 12:00:00", "2012-01-26 18:00:00", "2012-01-27 00:00:00", "2012-01-27 06:00:00", "2012-01-27 12:00:00", "2012-01-27 18:00:00", "2012-01...
2017 Oct 26
0
Help needed with aggregate or other solution
...tanding dplyr. [1] H. Wickham, The Split-Apply-Combine Strategy for Data Analysis, Journal of Statistical Software, vol. 40, no. 1, Apr. 2011. [2] H. Wickham and G. Grolemund, R for Data Science. OReilly UK Ltd, 2017. URL: https://r4ds.had.co.nz. > > ???????????? basistime fcst > 1?? 2012-01-25 15:02:00 47.9 > 2?? 2012-01-26 15:11:00 50.4 > 3?? 2012-01-27 01:41:00 46.0 > 4?? 2012-01-27 10:15:00 47.3 > 5?? 2012-01-27 15:15:00 47.3 > 6?? 2012-01-28 14:22:00 46.2 > 7?? 2012-01-29 13:33:00 45.8 > 8?? 2012-01-30 14:11:00 44.8 > 9?? 2012-01-31 14:24:00 43.9 > 10...
2013 Dec 01
2
Adjunto fichero de datos (en .txt)
...Un saludo, Carolina ------------ próxima parte ------------ Se ha borrado un adjunto en formato HTML... URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20131201/a60a00e3/attachment-0001.html> ------------ próxima parte ------------ fecha temp vel.vientokmh dir.viento presion 01/06/2012 0:00 16,648983 5,219999741 107,7431259 927,5014648 01/06/2012 0:10 16,09646225 6,120000601 135,4023895 927,4806519 01/06/2012 0:20 16,36221504 7,020000601 159,3079987 927,4867554 01/06/2012 0:30 16,66913986 6,120000601 128,4988861 927,4844971 01/06/2012 0:40 16,18397141 6,120000173 144,4150085 927,...
2012 Sep 05
4
Summarizing data containing data/time information (as factor)
Dear R user I want to create a table (as below) to summarize the attached data (Test.csv, which can be read into R by using 'read.csv(Test.csv, header=F)' ), to indicate the day that there are any data available, e.g.value=1 if there are any data available for that day, otherwise value=0. 28/04 29/04 30/04 01/05 02/05 532703 0 1 1
2012 Sep 03
1
Time Series filter help?
...tion will return 1's until I have three 0's in a row and it would keep producing zeros until I have three 1's in a row again. I have tried many ways to do this but I have not found a way that seems simple. I know I just making this more complex then needed so any help would be great. 2012-05-07 0 2012-05-08 0 2012-05-09 0 2012-05-10 0 2012-05-11 0 2012-05-14 0 2012-05-15 0 2012-05-16 0 2012-05-17 0 2012-05-18 0 2012-05-21 0 2012-05-22 0 2012-05-23 0 2012-05-24 0 2012-05-25 0 2012-05-29 0 2012-05-30 0 2012-05-31...
2012 Dec 13
3
subsetting time series
Hello, my series of dates look like [1] "2012-05-30 18:30:00 UTC" "2012-05-30 19:30:00 UTC" [3] "2012-05-30 20:30:00 UTC" "2012-05-30 21:30:00 UTC" [5] "2012-05-30 22:30:00 UTC" "2012-05-30 23:30:00 UTC" [7] "2012-05-31 00:30:00 UTC" "2012-05-31 01:30:00 UTC" [9...
2013 Mar 29
1
Create values based on a table of conditions
...18:33:03 6 54 52 28/10/2011 15:19:47 1 55 41 28/10/2011 19:00:24 8 56 17 03/12/2011 17:38:08 2 57 17 03/12/2011 17:38:49 20 58 17 20/05/2012 19:45:17 17 59 17 20/05/2012 19:45:58 47 60 17 22/05/2012 23:12:54 1 61 17 22/05/2012 23:15:15 3 62 17 22/05/2012 23:15:40 7 63 17 22/05...
2013 Mar 17
1
How make a boxplot with Y axis in percentage
I have to make a boxplot with Years 2011 and 2012 on the x axis, and percentage of full time students (=1) and part time students (=2) on the y axis. I would really appreciate if someone can help me to build a proper code. Thanks Larissa Data as follow: Year Q1 2011 1 2011 1 2011 1 2011 1 2011 1 2011 1 2011 1 2011 1 2011 1 2...
2013 Aug 25
3
POSIXct bug for conversion of specific combinations of date and time
.... As I convert them to POSIXct format, 1300 cases (of about half a million locations) simply return NA values. I picked up a small sample of failed cases and normal cases to demonstrate the problem (see below). Can anyone understand what's happening Thanks ## Data input >date<-rep("2012/10/21", 14) >hour<- c("00:02:38","00:11:05","00:19:33","00:28:00","00:36:27","00:44:57", +"00:53:27","01:03:28","01:10:15","01:16:34","01:24:00","01:30:13","01:47:...
2012 Mar 30
1
Multiple line Graphs
...it has been blocked so below is some sample data, if you would like me to e-mail it over to you then just let me know! Many Thanks for your help in advance PolyNam Date Total 1 Australia_North_East_250km 2012-03-09 707304183 2 Australia_North_East_250km 2012-03-16 364042592 3 Australia_North_East_250km 2012-03-23 353652092 4 Australia_North_West_250km 2012-03-09 1332721712 5 Australia_North_West_250km 2012-03-16 103...
2012 Jul 04
1
BDC Clients Unable to update DNS (PTR/A)
Hi; Through samba4 BDC server not update DNS record in PDC DNS server. please see logs 04-Jul-2012 10:22:19.800 client 192.253.8.25#1081: send 04-Jul-2012 10:22:19.800 client 192.253.8.25#1081: sendto 04-Jul-2012 10:22:19.800 client 192.253.8.25#1081: senddone 04-Jul-2012 10:22:19.800 client 192.253.8.25#1081: next 04-Jul-2012 10:22:19.800 client 192.253.8.25#1081: endrequest 04-Jul-2012 10:22:1...
2012 Jul 24
3
Collapsing a vector/data-frame based on the previous values
Hello I have a data frame like this: dput(states) structure(list(Date = c("24/07/2012", "25/07/2012", "26/07/2012", "27/07/2012", "28/07/2012", "24/07/2012", "25/07/2012", "26/07/2012", "27/07/2012", "28/07/2012"), State = c(1L, 1L, 1L, 1L, 1L, -1L, -1L, -1L, 1L, -1L)), .Names = c("Da...
2012 Aug 08
4
Saving Splitted Series to Excel via XLConnect
Dear R Discussion List, I would like to save my data as a xlsx file. But at first I need to split it and then save each series into a Excel column. Please take a look at the following code: dados <- data.frame(matrix(c("2012-01-01","2012-02-01", "2012-03-01","2012-04-01","2012-05-01","2012-06-01", "2012-01-01","2012-02-01","2012-03-01","2012-04-01", "2012-05-01","2012-06-01","2012-01-01",&q...
2012 Jul 18
2
How to have original (name) order after melt and cast command
...2817, 0.099487289, 5.550737022, 4.877620777,  5.462477493, 4.972518082, 5.01495407, 5.820459609, 5.403881954, 5.009506516, 4.807763909, 10.11885434,10.1856975,10.04976806,10.15428632, 10.20399335, 10.22966704,10.20967742,10.22927793,10.02439192))) > dat1          date      name         rate 1  2012-03-30  xyz  0.065550707 2  2012-03-29  xyz  0.001825007 3  2012-03-28  xyz  0.054441969 4  2012-03-27  xyz  0.020810572 5  2012-03-26  xyz  0.073430586 6  2012-03-23  xyz  0.037299722 7  2012-03-22  xyz  0.099807733 8  2012-03-21  xyz  0.042072817 9  2012-03-20  xyz  0.099487289 10 2012-03-30  abc ...
2013 Apr 17
2
Problem with DateVisit-gives wrong year?
Hi I have the following factor of dates that I want to converted to Date class so I can extract the month > test.date [1] 14/05/2012 14/05/2012 14/05/2012 14/05/2012 14/05/2012 14/05/2012 [7] 14/05/2012 14/05/2012 14/05/2012 14/05/2012 201 Levels: 01/10/2012 01/11/2012 01/12/2012 02/07/2012 ... 28/09/2012 I use code below ntest.date<-as.Date(test.date,'%d/%m/%y') but the output has the wrong year, and the reverse or...
2012 Oct 10
3
How to replicate SAS by group processing in R
...In SAS I use the following code: proc sort data=upper; by tdate stock_symbol expire strike; run; data upper1; set upper; by tdate stock_symbol expire strike; if first.expire then output; rename strike=astrike; run; on the following data set: tdate stock_symbol expiration strike 9/11/2012 C 9/16/2012 11 9/11/2012 C 9/16/2012 12 9/11/2012 C 9/16/2012 13 9/12/2012 C 9/16/2012 14 9/12/2012 C 9/16/2012 15 9/12/2012 C 9/16/2012 16 9/12/2012 C 9/16/2012 17...
2016 Jun 23
2
Asignar a un dataframe un id de otro dataframe en función de intervalos con fechas
...ódigos asociados a una hora; Lo que necesito es crear una nueva variable en el segundo data frame que indique a qué intervalo del primer data frame (df1$id) pertenece cada nivel del segundo dataframe (df2$label). Os dejo un ejemplo reproducible: df1 <- data.frame(id=seq(1, 10, 1),begin=c("2012-09-06 09:34:00","2012-09-06 10:18:00","2012-09-06 10:53:00","2012-09-06 11:28:00","2012-09-06 12:02:00","2012-09-06 12:36:00","2012-09-06 16:36:00","2012-09-07 08:42:00","2012-09-07 09:16:00", "2012-09-07 09:5...
2012 Jun 27
0
Trouble connecting to XenServer HyperVisor with Java bindings
Hello, I am trying to use the libvirt Java bindings (version 0.4.7) with libvirt version 0.9.12 to connect to a XenServer hypervisor. Virsh is able to connect to my XenServer, but when I try to do the same thing in Java, it won't connect. Here is the debug output: 2012-06-26 19:48:52.259+0000: 26051: info : libvirt version: 0.9.12, package: 1.fc16 (Unknown, 2012-06-26-11:43:53, flynx) 2012-06-26 19:48:52.259+0000: 26051: warning : virLogParseOutputs:993 : Ignoring invalid log output setting. WARNING: no socket to connect to 2012-06-26 19:48:52.275+0000: 26051: de...