Displaying 4 results from an estimated 4 matches for "braeunig".
2006 Jun 26
2
reshaping data.frame question
-----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
which tabulates some values p(X) for several factors f.
Now I want to put it in "wide"
2006 Jun 02
4
function environment
-----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 ()
{
}
> ENV$A()
NULL
Now, how
2006 Jul 12
2
plot.ts panel function
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 explain how to use the panel=
option correctly, thanks!
Cheers, m
2006 Aug 18
3
Query: how to modify the plot of acf
I need to modify the graph of the autocorrelation. I tried to do it through plot.acf but with no success.
1. I would like to get rid of the lag zero
2. I would like to have numbers on the x-axis only at lags 12, 24, 36, 48, 60, ...
Could anybody help me in this?
Any help will be appreciated
Thank you for your attention
Stefano
[[alternative HTML version deleted]]