[R] Linear model and time series

2007-03-30 Thread Andre Jung
Dear all,

I have three timeseries Uts, Vts, Wts. The relation between the time
series can be expressed as

Uts = x Vts + y Wts + residuals

How would I feed this to lm() to evaluate the unknowns x and y?

Thanks,
andre

__
R-help@stat.math.ethz.ch 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] Plot degree symbol by itself

2007-03-29 Thread Andre Jung
Dear all,

I'm trying to plot the degree symbol by itself between two square
brackets. I just want to have K [°]. So far I got to:

expression(K ~ group([,1*degree,]))
or
expression(K ~ group([,1^o,]))

But it won't work without a number or letter.

Any suggestions?

Thanks,
andre

__
R-help@stat.math.ethz.ch 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] Searching for keyword values in a text (configuration) file

2006-09-27 Thread Andre Jung

Hi,

I would like to read values from an ASCII text file that contains 
information in the following format:


DEVICE = 'PC'
CPU_SPEED = '1999', '233'
...

It's like a config file.

How can I e.g. get R to read the 2nd value of CPU_SPEED?
How do I go through text files and search for keywords and their values?

Thanks a lot,
Andre
__
R-help@stat.math.ethz.ch 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] Searching for keyword values in a text (configuration) file

2006-09-27 Thread Andre Jung
Hi,

I would like to read values from an ASCII text file that contains
information in the following format:

DEVICE = 'PC'
CPU_SPEED = '1999', '233'
...

It's like a config file.

How can I e.g. get R to read the 2nd value of CPU_SPEED?
How do I go through text files and search for keywords and their values?

Thanks a lot,
Andre

__
R-help@stat.math.ethz.ch 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.