search for: 2000

Displaying 20 results from an estimated 20225 matches for "2000".

Did you mean: 1000
2010 Apr 13
1
Merging "list" object
Hi, I have created following "list" object : > library(zoo) > dat <- vector("list") > for (i in 1:4) dat[[i]] <- zooreg(rnorm(i*10), > start=as.Date("2000-01-01"), frequency=1) > dat[[1]] 2000-01-01 2000-01-02 2000-01-03 2000-01-04 2000-01-05 2000-01-06 2000-01-07 2000-01-08 2000-01-09 2000-01-10 -0.7023352 -0.2063284 -1.0684688 -0.5345360 1.0045435 -0.6528107 1.0922850 0.6592155 0.1889817 -0.5154872 > dat[[2]] 2000-01-01 2000-01-...
2010 May 15
1
barplot: invalid 'xlim' value
...isconnects the data from the existing coordinate system. I've prepared my data to be easily uploaded, but the paste command into R took about 10-20 sec. on my machine to complete (I did pare down the dataset by 80% or so): library(zoo) #create a time series ttime.80.2<-seq(as.POSIXlt("2000-06-12 02:00","%Y-%m-%d %H:%M",tz=""),as.POSIXlt("2000-07-17 01:00","%Y-%m-%d %H:%M",tz=""),by="hour") #Load in the data for the base plot well.80.2<-read.table(textConnection("row~ID~date~Reading~WellID~week 19578~Well_80-2~6/...
2010 Mar 10
4
cut.POSIXt misconception/feature/bug?
...I was not able to perform correct setting. When I want split to 3 chunks it partially works however from help page I supposed to get result without NA. Details: Using both ?right = TRUE? and ?include.lowest = TRUE? will include both ends of the range of dates. dat <- seq(c(ISOdate(2000,3,20)), by = "day", length.out = 60) br<-dat[c(23, 42)] head(cut(dat, breaks=br, right=T, include.lowest=T)) [1] <NA> <NA> <NA> <NA> <NA> <NA> Levels: 2000-04-11 14:00:00 which apparently is not output I would like to have. When trying to split to...
2012 Aug 01
3
Date period
Hello I have dataframe How to remove dates in hourly time seriesThe example time series likedate value 2000-01-05 00:00:00 1.0 2000-01-05 01:00:00 1.0 2000-01-05 05:00:00 3.6 2000-01-05 06:00:00 3.6 2000-01-05 07:00:00 2.2 2000-01-05 08:00:00 2.2 2000-01-05 09:00:00 2.2 2000-01-05 10:00:00 2.2 2000-01-05 11:00:00 2....
2008 Apr 04
4
How can we creat conditional data frame
Hi, R experts. I am a new user of R and trying to learn this program. I have a problem. Here is the code. d<-as.Date(c("2000/01/03","2000/01/05","2000/01/19","2000/01/28")) r<-rnorm(4) da<-data.frame(d,r) a<-as.Date("01/01/2000","%d/%m/%Y") b<-as.Date("30/01/2000","%d/%m/%Y") ab<-seq(a,b,by=1) c<-format(ab,"%a") date&l...
2007 Jun 04
3
Bug in seq.date?
> seq(as.Date("2000-1-1"), as.Date("2001-1-1"), "months") [1] "2000-01-01" "2000-02-01" "2000-03-01" "2000-04-01" "2000-05-01" [6] "2000-06-01" "2000-07-01" "2000-08-01" "2000-09-01" "2000-10-01&qu...
2008 Jul 01
2
"Invalid object" error in boxplot
...ld instead of "Diatoms") I get the following error message: Error in oldClass(stats) <- cl : adding class "factor" to an invalid object Any advice would be much appreciated. Thanks a lot, Miriam Date Depth Diatoms Bacteria V1 V2 V3 1 15/02/2000 0 17 700,000 14,067,895 380,000 69,000 2 15/02/2000 2 17 316,680 9,311,160 250,000 26,000 3 15/02/2000 10 20 313,010 8,422,355 460,000 30,000 4 15/02/2000 20 21 374,535 9,259,900 280,000 33,000 5 22/02/2000 0 21 370,000 16,952,360 320,...
2007 May 24
6
Sum per hour
Dear all, I have a list of precipitation record and a list of time I would like to sum them up per hour, or per day. Does such a function exist ? example: time<-c("2000-10-03 14:00:00","2000-10-03 14:10:00","2000-10-03 14:20:00","2000-10-03 15:30:00","2000-10-03 16:40:00","2000-10-03 16:50:00","2000-10-03 17:00:00","2000-10-03 17:10:00","2000-10-03 17:20:00","2000-10-03 18:30...
2000 May 09
1
2.9: remote port forwarding doesn't work
...alhost:22 localhost and sshd -p 2222 -d Note that server tries to forward to Connection to port 2828 forwarding to 0.0.0.0 port 0 requested. instead of localhost port 22 as it should. what ssh, what sshd and /etc/sshd_config are also attached. Thanks Greg -------------- next part -------------- 2000-05-09 08:33:01.905766500 debug1: sshd version OpenSSH_2.9 2000-05-09 08:33:01.905771500 debug1: private host key: #0 type 0 RSA1 2000-05-09 08:33:01.905773500 debug1: read PEM private key done: type RSA 2000-05-09 08:33:01.905775500 debug1: private host key: #1 type 1 RSA 2000-05-09 08:33:01.905778...
2004 Aug 18
1
Fwd: strptime() problem? - Resolved
Hi Gabor and everybody; Thanks Gabor, with the alternative step you've told me the problem is resolved. Comparing the two procedures: Extract from the source 'character' data: > rain$ts[2039:2046] [1] "25/03/2000 22:00:00 UTC" "25/03/2000 23:00:00 UTC" [3] "26/03/2000 00:00:00 UTC" "26/03/2000 01:00:00 UTC" [5] "26/03/2000 02:00:00 UTC" "26/03/2000 03:00:00 UTC" [7] "26/03/2000 04:00:00 UTC" "26/03/2000 05:00:00 UTC" Proc 1. The 5th...
2013 Apr 04
3
summing vectors
Hi All, Year Area Q Bin FD I have a large dataset I need to re-structure. It looks something like this: 2000 1 1 5 0 2000 1 1 10 1 2000 1 1 15 23 2000 1 1 20 12 2000 1 1 25 1 2000 2 1 5 1 2000 2 1 10 3 2000 2 1 15 15 2000 2 1 20 11 2000 2 1 25 3 2000 1 2 5 0 2000 1 2 10 1 2000 1 2 15 23 2000 1 2 20 12 2000 1 2 25 1 2000 2 2 5 1 2000 2 2 10 3 2000 2 2 15 15 2000 2 2 20 11 2000 2 2 25 3...
2018 Apr 22
0
[Bug 351] Conntrack loses connection entries
...| --- Comment #20 from Shane <arlenslambert at gmail.com> --- Comment on attachment 134 --> https://bugzilla.netfilter.org/attachment.cgi?id=134 tcpdump of communication during which conntrack seems to "forget" packets 14:39:54.925957 IP Y.Y.Y.Y.1818 > X.X.X.X.2000: S 849153605:849153605(0) win 65535 <mss 1460,nop,nop,sackOK> 14:39:57.943185 IP Y.Y.Y.Y.1818 > X.X.X.X.2000: S 849153605:849153605(0) win 65535 <mss 1460,nop,nop,sackOK> 14:39:58.241750 IP X.X.X.X.2000 > Y.Y.Y.Y.1818: S 3217892892:3217892892(0) ack 849153606 win 15972 <mss 145...
2008 Mar 10
1
Error in extracting monthly observation from a daily time series data
...rnorm(len1, mean=0, sd=SD*0.5), nrow = len1), date1) Now I want to extract monthly observation. obs = split(as.data.frame(data1), format(index(data1), "%y%m")) However surprisingly order of the observation has been changed : > head(obs, 1) $`0001` data1 2000-01-01 -0.11638271 2000-01-02 -0.69384682 2000-01-03 -1.20472671 2000-01-04 -0.29262033 2000-01-05 -0.49685794 2000-01-06 0.27514305 2000-01-07 -0.34568013 2000-01-08 0.46075677 2000-01-09 -1.37813508 2000-01-10 0.04960789 2000-01-11 0.42585954 2000-01-12 -0.12685112 2000-01-13 0.24664998 2000-...
2010 Jun 18
5
convertir archivo texto en data frame
Tengo un archivo de texto donde cada línea es de la siguiente forma: "aa-mm-dd hh:mm:ss Nombre Apellido" ¿Hay alguna forma de usar read.table o algo similar para obtener directamente un data frame que tenga dos columnas donde una tenga la fecha y quede de tipo PosiX y la otra character con el nombre completo? Gracias, Sebastián.
2010 Aug 31
4
weird to me interaction between time() and %%, %/%
...ways seemed to work previously but today I got this peculiar result. > junk <- ts(1:125, start=c(1999,2), frequency=12) > time(junk) Jan Feb Mar Apr May Jun Jul Aug 1999 1999.083 1999.167 1999.250 1999.333 1999.417 1999.500 1999.583 2000 2000.000 2000.083 2000.167 2000.250 2000.333 2000.417 2000.500 2000.583 2001 2001.000 2001.083 2001.167 2001.250 2001.333 2001.417 2001.500 2001.583 2002 2002.000 2002.083 2002.167 2002.250 2002.333 2002.417 2002.500 2002.583 2003 2003.000 2003.083 2003.167 2003.250 2003.333 2003.417 2003.500 2003....
2012 Aug 04
4
DAtes
...ta.frame(tfr) I have tried several things, as date, so on, but always error. And it makes Error en as.Date.default(tfr, "%m/%d/%y") : do not know how to convert 'a' to class "Date" Can anyone give me a clue or a gide to achieve this final result. 14/12/2000 15/12/2000 18/12/2000 19/12/2000 20/12/2000 21/12/2000 22/12/2000 25/12/2000 26/12/2000 27/12/2000 28/12/2000 29/12/2000 01/01/2001 02/01/2001 03/01/2001 04/01/2001 05/01/2001 08/01/2001 09/01/2001 10/01/2001 11/01/2001 12/01/2001 15/01/2001 16/01/2001 17/01/2001 18/01/2001 19...
2009 Feb 26
1
Incorporating cumsum in for loop
...0 0 0 7 0 1 78 34550 11377 2004-02-12 14.4 7 0 2004 1 0 0 0 12 0 1 78 42629 11493 2007-05-31 11.8 31 0 2007 1 1 0 0 25 1 1 25 20900 12558 2000-06-30 49.8 38 0 2000 1 1 0 0 27 1 1 118 21618 12558 2000-07-27 51.0 27 0 2000 1 0 0 0 14 0 1 118 22014 12558 2000-08-10 36.6 14 0 2000 1 0 0...
2005 Oct 06
5
Interpolation in time
Can anybody help me write a code on the following data example, which fills out all NA values by using a linear interpolation with the two closest values? Doy is day of year (%j). Code example: yr<-c(rep(2000,14)) doy<-c(16:29) dat<-c(3.2,NA,NA,NA,NA,NA,NA,5.1,NA,NA,NA,NA,NA,4.6) ta<-cbind(yr,doy,dat) ta yr doy dat [1,] 2000 16 3.2 [2,] 2000 17 NA [3,] 2000 18 NA [4,] 2000 19 NA [5,] 2000 20 NA [6,] 2000 21 NA [7,] 2000 22 NA [8,] 2000 23 5.1 [9,] 2000 24 NA [10...
2010 Jun 08
3
more dates and data frames
Dear R People: So thanks to your help, I have the following: > dog3.df <- read.delim("c:/Users/erin/Documents/dog1.txt",header=FALSE,sep="\t") > dog3.df V1 V2 1 1/1/2000 dog 2 1/1/2000 cat 3 1/1/2000 tree 4 1/1/2000 dog 5 1/2/2000 cat 6 1/2/2000 cat 7 1/2/2000 cat 8 1/2/2000 tree 9 1/3/2000 dog 10 1/3/2000 tree 11 1/6/2000 dog 12 1/6/2000 cat > dog3.df$V1 <- as.Date(dog3.df$V1,"%m/%d/%Y") > DF3 <- with(dog3.df,data.frame(Date=...
2003 Dec 02
2
IPv4-only networks via IPv6-only network
Hello all, I would like to connect two IPv4-only networks through global IPv6-only network with tinc. Could anyone tell me how to configure tinc.conf and the other config files? Thanks in advance, Ichiro Tinc: Discussion list about the tinc VPN daemon Archive: http://mail.nl.linux.org/lists/ Tinc site: http://tinc.nl.linux.org/