.
~ Matthias Braeunig, Dipl.Phys.
~University Medical Center Freiburg
~Institute of Environmental Medicine and Hospital Epidemiology
~ Department of Evaluation Research in Complementary Medicine
~ Hugstetter Str. 55, D - 79106
How can I set the ylim in individual panels of a multiple plot.ts?
The panels are all scaled to fully fit the series inside. But I need
specific scales, and colors
Here is an example:
plot.ts(cbind(1:10,1:10/10),ylim=c(0,3))# ylim has no effect
Can someone more knowledgable please
# reproducing your example
xx-x y z
+ 1 2 3
+ 2 3 1
+ 3 2 1
+ 1 1 3
+ 2 1 2
+ 3 2 3
+ 2 1 1
# you did not tell us the class of your data, assuming data.frame
df-read.table(textConnection(xx),header=T,colClasses=factor)
# a clean way to do what you want is using factors with ?levels
# (note that
It has to be a simple thing, but I could not figure it out:
How do I send the text output from object x to the printer?
As a shell user I would expect a pipe to the printer... |kprinter or
|lpr -Pmyprinter somehow. And yes, I'm on Linux.
Thanks!
__
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear R-helpers,
my data.frame is of the form
x - data.frame( f=gl(4,3), X=rep(0:2,4), p=c(.1,.2,.3))
x
f X p
1 1 0 0.1
2 1 1 0.2
3 1 2 0.3
4 2 0 0.1
5 2 1 0.2
6 2 2 0.3
7 3 0 0.1
8 3 1 0.2
9 3 2 0.3
10 4 0 0.1
11 4 1 0.2
12 4 2 0.3
wrote:
You need to specify the row/column name as character:
y
X1 X2 X3 X4
0 0.1 0.1 0.1 0.1
1 0.2 0.2 0.2 0.2
2 0.3 0.3 0.3 0.3
y[,'X3']
[1] 0.1 0.2 0.3
y['0','X3']
[1] 0.1
On 6/26/06, Matthias Braeunig [EMAIL PROTECTED] wrote:
Dear R-helpers,
my data.frame
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
how can I automatically access the functions that I loaded into a
separate environment?
save(A,B,file=myfun.r)
load(myfun.r,envir=(ENV-new.env()))
ls(ENV)
[1] A B
?[ turned up that I can access the functions via
ENV$A
function ()
{
}