[R-SIG-Finance] how to plot a data frame of timeseries?

Jeffrey Todd Lins jtl at saxobank.com
Wed Dec 9 18:54:43 CET 2009


Dear Konrad,

This is actually a general R question, but since time series are a common interest within finance, let's answer it here to others' benefit, too.

I believe the simplest,  most direct first try might be with ts.plot.



Jeffrey Lins
Executive Director 
Quantitative Analysis and Advanced Research Center
Saxo Bank A/S

(Message sent from my BlackBerry)

----- Original Message -----
From: r-sig-finance-bounces at stat.math.ethz.ch <r-sig-finance-bounces at stat.math.ethz.ch>
To: 'R-Finance' <r-sig-finance at stat.math.ethz.ch>
Sent: Wed Dec 09 17:39:12 2009
Subject: [R-SIG-Finance] how to plot a data frame of timeseries?

Dear mailing list members,

I would like to plot different time series in one plot, which are together
in one data frame. In the columns are the different stocks and in the rows
are the different time points. Every stock should have a different color,
can be chosen randomly. I've already seen sth like this in the context of
stochastic processes but I don't know how to create.

Can anybody help me?

All the best,

--

Konrad Hoppe

http://www.konrad-hoppe.com/

 


	[[alternative HTML version deleted]]

_______________________________________________
R-SIG-Finance at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only.
-- If you want to post, subscribe first.
This email may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this email 
by mistake), please notify the sender immediately and destroy this 
email. Any unauthorised copying, disclosure or distribution of the
material in this email is strictly prohibited.

Email transmission security and error-free status cannot be guaranteed
as information could be intercepted, corrupted, destroyed, delayed,
incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message 
which may arise as a result of email transmission.


More information about the R-SIG-Finance mailing list