Re: [R] Aggregating 15 minute xts sequence to hourly

2014-06-18 Thread Costas Vorlow
2012-05-02 11:00:008 2012-05-02 12:00:00 12 2012-05-02 13:00:00 16 2012-05-02 14:00:00 20 2012-05-02 15:00:00 24 2012-05-02 16:00:00 28 2012-05-02 17:00:00 32 2012-05-02 18:00:00 36 2012-05-02 19:00:00 40 How does this look like to you? Many thanks again, Costas

[R] Aggregating 15 minute xts sequence to hourly

2014-06-16 Thread Costas Vorlow
-02 19:00:00 40 I get the sum of every quarter within the hour on the third quarter. How can I implicitly calculate the sum of the quarterly data on the hour's close (10:00, 11:00, 12:00 and so on) ? Many thanks in advance, Costas

Re: [R] Aggregating 15 minute xts sequence to hourly

2014-06-16 Thread Costas Vorlow
... __ *Costas Vorlow http://www.gravatar.com/avatar/49a9dee59073b1ed4a36440a06aeb81b * *http://www.linkedin.com/in/costasvorlow http://www.linkedin.com/in/costasvorlow* *http://www.vorlow.com* http://www.vorlow.com ▇ ▅ █ ▅ ▇ ▂ ▃ ▁ ▁ ▅ ▃ ▅ ▅ ▄ ▅ ▇ ▅ █ ▅ ▇ ▂ ▃ â

[R] Collapsing data.frame to its or xts

2014-06-04 Thread Costas Vorlow
... Many thanks in advance for your input, Best, Costas [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

[R] R command execution at specific time from within R

2013-12-23 Thread Costas Vorlow
Hello, I am trying to write a code that executes an R command at specific time intervals. É want R to do that instead of the operating system. Any help/pointer extremely welcome. Thanks in advance, Costas [[alternative HTML version deleted

[R] hhmm time format, strptime and %k

2012-11-28 Thread Costas Vorlow
that it's suitable when AM hours are described with a single digit (The 24-hour clock time with single digits preceded by a blank) but I can not get it to work. Thanks in advnace for your time and help. Best, Costas __ R-help@r-project.org mailing list

[R] RGoogleTrends vs Google

2012-11-08 Thread Costas Vorlow
the same problems? Best, Costas -- __ *Costas Vorlow * *http://www.linkedin.com/in/costasvorlow* *http://www.vorlow.com* http://www.vorlow.com * * [[alternative HTML version deleted

[R] Vectorization instead of loops problem

2011-12-04 Thread Costas Vorlow
,-40] [2],[-10,-5,25] # as member #7 of x sequence is 1... etc. etc. Can I do the above avoiding for/next or while loops? I am not sure I can explain it better. Any help/pointer extremely welcome. Best regards, Costas -- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |c|o|s|t|a|s|@|v|o|r|l|o|w|.|o|r|g

Re: [R] Vectorization instead of loops problem

2011-12-04 Thread Costas Vorlow
Thanks Uwe. What happens if these are zoo (or time series) sequences/dataframes? \ I think your solution would apply as well, no? Thanks again best wishes, Costas 2011/12/4 Uwe Ligges lig...@statistik.tu-dortmund.de On 04.12.2011 16:18, Costas Vorlow wrote: Hello, I am having problems

Re: [R] Vectorization instead of loops problem

2011-12-04 Thread Costas Vorlow
. BTW, is there a good quick read/guide on vectorization in R that one could recommend? That would minimize my queries at least in the list. :-) Apologies again and best regards, Costas On 4 December 2011 17:45, Bert Gunter gunter.ber...@gene.com wrote: Costas: (and thanks for giving us your name

[R] tkrplot Newbie

2011-06-03 Thread Costas Vorlow
with the code? Thanks in advance, Costas __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] tkrplot Newbie

2011-06-03 Thread Costas Vorlow
the error message? On Fri, Jun 3, 2011 at 11:42 AM, Costas Vorlow costas.vor...@gmail.com wrote: Hello, I am trying to write a tcltk based program that plots/manipulates xts/xoo time series objects. I have the code I used from ## http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples

[R] Fwd: open.exe Virus W32.ATRAPS

2011-04-10 Thread Costas Vorlow
Hello, I am not sure if this is the correct mailing list to send this email... I was trying to install on windows XP latest R-2.12.2 and my unvirus program (Immunet 3.0) reports a virus at open.exe while this is unpacked: W32.ATRAPS Has anyone come across the same problem? Best, Costas

[R] tryCatch - Continuing for/next loop after error

2011-03-10 Thread Costas
), the problem still persists. Is this the correct way to use tryCatch (or try) or should these go inside the actual code bits (i.e., in a more low level fashion) that conduct the optimization and model estimation? Apologies if this is not clear enough. Best, Costas

[R] Ubuntu Maverick and revoIPC/doSMP

2011-02-23 Thread Costas
Hello, I am having trouple installing doSMP and revoIPC from: https://r-forge.r-project.org/R/?group_id=950 My Linux system: Linux 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64 GNU/Linux Ubuntu 10.10 \n \l I get this reply: costas@ELEPHANT:~/Downloads$ sudo R CMD

[R] Intel i7 utilization

2010-10-05 Thread Costas
Hello, Is there a way to force through R the amount of the cpu's cores (or the cpu's utilization level) used under Windows 7 or Linux? Thanks, Costas __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] Date/Time format

2010-09-27 Thread Costas
Hello, Is it possible to instruct (permanently) R to write on csv (and read from csv) time series, where the time stamp has a particular format: say: -mm-dd i.e., as in format(Sys.Date(), %Y-%m-%d) Many thanks in advance, Costas __ R-help

[R] zoo, time() index()

2010-08-02 Thread Costas
Hi, I have to zoo real valued time series a and b same length. is index(a)-index(b) same as time(a)-time(b)? Which one is better? Best, Costas __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] apply lm() for all the columns of a matrix

2008-04-09 Thread Costas Douvis
Hi all, My question is not really urgent. I can write a loop and solve the problem. But I know that I'll be in a similar situation many more times so it would be useful to find out the answer Is there a fast way to perform linear fit to all the columns of a matrix? (or in the one dimension of a

Re: [R] apply lm() for all the columns of a matrix

2008-04-09 Thread Costas Douvis
/biostat/ http://www.student.kuleuven.be/~m0390867/dimitris.htm - Original Message - From: Costas Douvis [EMAIL PROTECTED] To: r-help@r-project.org Sent: Wednesday, April 09, 2008 12:55 PM Subject: [R] apply lm() for all the columns of a matrix Hi all, My question is not really

Re: [R] apply lm() for all the columns of a matrix

2008-04-09 Thread Costas Douvis
, Belgium Tel: +32/(0)16/336899 Fax: +32/(0)16/337015 Web: http://med.kuleuven.be/biostat/ http://www.student.kuleuven.be/~m0390867/dimitris.htm - Original Message - From: Costas Douvis [EMAIL PROTECTED] To: r-help@r-project.org; Mark Leeds [EMAIL PROTECTED]; Dimitris Rizopoulos

[R] how to plot a map on a non-rectilinear grid

2008-03-17 Thread Costas Douvis
Hi everyone I have a matrix (let's say that it contains the values of elevation) and want to plot its values on a map using a function such as image.plot or filled.contour. The problem is that my grid is not rectilinear, it is bended. Here is an example lon-matrix(0,20,25) lat-matrix(0,20,25)

[R] output into an unformatted direct fortran file

2008-01-07 Thread Costas Douvis
Hello everybody Is there a way to output data into a file like the unformatted, direct fortran files? That's the kind that can be opened with: open(30, file='file', format='unformatted', access='direct', rec=1000, convert='big endian') Thank you in advance Kostas Douvis