similar to: Converting dates?

Displaying 20 results from an estimated 400 matches similar to: "Converting dates?"

2002 Aug 20
1
About lm()
Dear Mr. and Mrs. I'm very grateful for these software and this list. My question is: when a use linear multiple regression (lm()) for my data, abundance ichthyoplankton ~ salinity + temperature + month of the year(f1 is a factor: 1 for january, 2 for february, ..., 12 for december), the summary() of results is ... Coefficients: Estimate Std. Error t value Pr(>|t|)
2002 May 17
1
Spectral Analysis
Dear R users Is there a function in R to make a peridogram for a spectral analysis of unevenlly sampled data?? something like spec.lomb() for S-Plus?? How to plot a vector with unequally spaced time series?? e.g day/month/year V1 03/08/82 0.34 28/08/82 1.42 12/09/82 0.28 20/09/82 0.56 03/10/82 0.85 21/10/82 1.45 thanks -- Marcelo Alexandre Bruno - Pos-graduacao Oceanografia Biologica
2011 Feb 21
3
assign value to multiple objects with a given ls pattern
Dear R colleagues, This seems pretty straight forward but I have been banging my head on this for some time and can't seem to find a solution suppose I have something like a1<-1; a2<-2; a3<-3; a4<-4; b1<-3; b2<-4 I would like to quickly assign to objects with a certain pattern, e.g., those in ls(pattern="a") a specific value, e.g., "99", without
2008 May 16
2
Box.test degrees of freedom
Dear colleagues, I am new to R and statistics so please keep that in mind. I have doubts on the df calculation of Ljung-Box test (Box.test). The function seems to use always the df=lag=m and not df=m-p-q like suggested in Ljung and Box (1978) paper (that is referenced). Do you agree with this? If so, is there an R package function that computes Ljung-Box test with the degrees of
2007 Nov 16
1
monthplot () - axis change color
Hi, When I run this code a part of my x-axis and y-axis changes color. Can somebody tell me what is wrong? Also, is there a way to control the color of the average lines? monthplot(AirPassengers+500, ylim=c(min(AirPassengers), max(AirPassengers+500)), ylab="") par(new=T) monthplot(AirPassengers, col="blue", ylim=c(min(AirPassengers), max(AirPassengers+500)),
2003 Apr 15
1
About kruskal.test
Hi, I'm newbie in R package, but i'm extremely gratefull for these list! is there possible to make kruskal.test summarize the sum of ranks?? e.g ##### z<-c(1.2,3.4,0,0,0,0,0) ranks(z) # like in octave package ans= 6 7 3 3 3 3 3 sum(ranks(z)) ans= 28 ### then apply multiple comparisions for many other data SE<-sqrt(n*(n*k)*(n*k+1)/12) # according Zar,JH. Bioestatistical
2008 Jun 19
2
how to write symbol (nabla) in R graph
Dear colleagues, Can anyone of you tell me how to write a "nabla" symbol in an R graph? Thanks in advance, Nuno ______________________________________________ Centro de Oceanografia - IO-FCUL, Portugal Center for Quantitative Fisheries Ecology - ODU, USA [[alternative HTML version deleted]]
2008 Mar 27
6
help! - spectral analysis - spec.pgram
Can someone explain me this spec.pgram effect? Code: period.6<-c(0,0,0,0,0,10,0,0,0,0,0,10,0,0,0,0,0,10,0,0,0,0,0,10,0,0,0,0,0,10 ,0,0,0,0,0,10,0,0,0,0,0,10,0,0,0,0,0,10,0,0,0,0,0,10,0,0,0,0,0,10) period.5<-c(0,0,0,0,0,10,0,0,0,0,10,0,0,0,0,0,0,10,0,0,0,0,10,0,0,0,0,0,0,10 ,0,0,0,0,10,0,0,0,0,0,0,10,0,0,0,0,10,0,0,0,0,0,0,10,0,0,0,0,10,0) par(mfrow=c(2,1))
2002 Jun 26
4
evaluate a string
Hello together i want to execute different commands that are saved in strings (eg: "d <- 4+7" and some more complicated things). How can i execute/evaluate them. I know i could save them to a temp-file a read this with source. But is there a way without a file in the middle? I know also the 'assign' command but I think it would only the simply cases. thanks and gruess joerg
2002 Mar 01
3
Split plot in colors/pch??
Hi all This seems like a very easy question, but I have not found a simple answer to it: If you have a dataframe, how to you plot two of then in different colors depending on a third variable? All help appreciated! /Fredrik -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send
2002 Mar 05
3
enhanced Question to stand. Beta
Hello everybody, a question that connect to the question of Frederik Karlsons about 'how to stand. betas' With the stand. betas i can compare the influence of the different explaning variables. What do i with the betas of factors? I can't use the solution of JohnFox, because there is no sd of an factor. How can i compare the influence of the factor with the influence of the numeric
2002 Feb 26
2
last day of month values
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have a stock market trading values time series. What's the best way to extract the "last day of month" values. I looked at function window() but doesn't appear suitable for this since it expects regular dates. Thank you. lukas - -- Lukas Kubin lukas.kubin at permonik.com phone: 00420603836180 -----BEGIN PGP SIGNATURE-----
2002 Jan 09
1
bug in read.table?
Hello, in the new Relase (1.4) i get a different (worser) result for read.table with as.is=T: it crash! Input file (t.txt, with a name, 5 character and a numeric column) Name short kind logable use save lag m "mo" "x" "n" "1" "n" 0 Ptp "PT" "l" "y" "m" "n" 0 R-Code
2002 Mar 13
3
Error: subscript out of bounds
How can locate in my program an error of that kind (Error: subscript out of bounds)? -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
2002 Jul 09
3
writing to a png file with a script
Dear R-freaks, I am new to R and loke to write plots directly to a file with a script in batch-mode. the following error occured: # writing section > x11() Error in x11() : the x11 device has not been loaded Execution halted I do not know what to do! thanks for your help cheers steph -- Linux: the operating system with a CLUE... Command Line User Environment.
2002 Mar 13
3
plot
Hello! I use the version 1.4.0 for Windows. I have made boxplots but only half of the symbols (three letters each) show up on the X-axis? How t can one change their size or orientation so that all show up? I attach the pdf file to illustrate better the problem. Regards Martin Martin Lascoux Department of Conservation Biology and Genetics Evolutionary Biology Center Norbyv?gen 18D 75236
2003 Jan 07
1
plot.ts don't accept ylab (PR#2428)
Full_Name: Joerg Maeder Version: R-1.6.1 OS: Solaris Submission from: (NULL) (129.132.77.42) plot.ts crashs when you have a multi-dimensional time series and you try to define the ylab argument. #Test Data: simple 2dimensional time series testdata <- ts(cbind(runif(24),runif(24),freq=4)) #this command works well plot.ts(testdata) #this command don't work
2002 Feb 26
2
covariance of equal date values
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I need to count the covariance of two time series. Both of them contain the dates' vector and vector of values. But the dates are not the same. It means some dates of first ts are not in the second respectively. And I need the covariance of same dates, of course. Could anyone help me, please? Thank you. lukas - -- Lukas Kubin lukas.kubin at
2002 Jul 10
3
2 simple doubts
Hello, I'm just start learning R/S-Plus, so I think this 2 doubts is going to be too easy for you... 1) I couldn't discover what is the command for a concatenation of 2 variable strings. 2) For example, if I have three variable strings, and each one has the name of a variable in a data matrix: a<-V1 b<-V2 c<-V3 , is it possible to construct a command like this:
2002 Mar 20
3
a R question
Dear Sir, I have been working with R for some time now and I am very happy with it, but I have found a problem that I could not resolve. Could you please give me some hint about how to transform POSIX time data in seconds to string format?. (eg. 995752800 -> year-month,day,hour,min, sec) I tryed with Sys.time(), strptime() and date() but without success. Thank you very much in advance