[R] Combining two variables in text

2010-09-28 Thread trb1

Hi all,

how can I manually create a data.frame or similar object to display in a
textplot, that omits column and row numbers/headings? 

Also, how can I combine several variables in text
i.e. suppose I have 
a - one
b - two
then what expression can I place in 
title(main=...)
in terms of a and b to give an output title of 
one, two 
i.e. a then b separated by a comma.

Thanks 


-- 
View this message in context: 
http://r.789695.n4.nabble.com/Combining-two-variables-in-text-tp2716916p2716916.html
Sent from the R help mailing list archive at Nabble.com.

__
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] Combining two variables in text

2010-09-28 Thread trb1

In the date.frame/ text plot, would it be possible to change the font size of
one of the lines?
Thanks
-- 
View this message in context: 
http://r.789695.n4.nabble.com/Combining-two-variables-in-text-tp2716916p2716931.html
Sent from the R help mailing list archive at Nabble.com.

__
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.


[R] textplot

2010-09-27 Thread trb1

Hi all,

Please can you help me to add text to a plot. 

I would like 5 graphical plots and 1 text plot. I use
par(mfrow=c(2,3))
then 
textplot()
I would like to add various pieces of information to the text plot,
i.e. some individual values, a table of statistics, some sentences.

Is there any easy way of doing this or am I forced to construct a very
complicated dataframe?
Is this even possible?
Examples would be appreciated...

Thanks...
-- 
View this message in context: 
http://r.789695.n4.nabble.com/textplot-tp2715028p2715028.html
Sent from the R help mailing list archive at Nabble.com.

__
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.


[R] Time Series

2010-09-06 Thread trb1

Hi 

How would I analyse time series with 
- different lengths (i.e. one has 9 entries and the other has 14 entries)
- different frequency (i.e. dates are random - no repeated length)
- multiple values for the same time entry (e.g. 2009-10-23 below)

i.e. my data takes the form:
1st time series

2009-10-07  0.009378
2009-10-19  0.014790
2009-10-23  -0.005946
2009-10-23  0.009096
2009-11-08  0.004189
2009-11-10  -0.004592
2009-11-17  0.009397
2009-11-24  0.003411
2009-12-02  0.003300
2010-01-15  0.010873
2010-01-20  0.010712
2010-01-20  0.022237

2nd time series

2009-09-23  0.076253
2009-10-07  0.039255
2010-02-17  0.039045
2010-03-09  0.024201
2010-03-25  -0.039810
2010-04-13  -0.012428

I am unable to get any functions to work.
A simple plot would be nice! 


Thanks.

-- 
View this message in context: 
http://r.789695.n4.nabble.com/Time-Series-tp2528444p2528444.html
Sent from the R help mailing list archive at Nabble.com.

__
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] Time Series

2010-09-06 Thread trb1

Thank you very much for your post. 
Your answer has been very helpful.
Is it possible to merge 2 time series?

-- 
View this message in context: 
http://r.789695.n4.nabble.com/Time-Series-tp2528444p2528584.html
Sent from the R help mailing list archive at Nabble.com.

__
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.