[R] xyplot, loess and se

2004-05-08 Thread Luca De Benedictis
Dear R-friends, in plotting x and y, conditioning on z, I am trying to find a way to make the standard errors appearing together with the loess in the trellis plot. I have tried the following code without success. x - x y - y z.two.groups - equal.count(z, number=2, overlap=.1) xyplot(x~y |

[R] panel data

2004-02-15 Thread Luca De Benedictis
Dear R-friends, has anyone developed a package for panel data or even dynamic panel data? Thanks Luca __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

[R] ordering in dotplot

2004-02-02 Thread Luca De Benedictis
Dear R-friends, the dataset I am using (data.it) is organized as follows partnerstpbtpreg hk0.641s ger0.271d tur0.271s rom0.241s-f por0.241s spa0.231s gre0.221d-f aus0.171d uk0.161

[R] correlation matrix in Hmisc

2003-10-17 Thread Luca De Benedictis
Dear all, I am trying to compute a matrix of Pearson's `r' or Spearman's `rho' rank correlation coefficients using rcorr (Hmisc) the following way: mx-rcorr(x, type=spearman)[1] but then ... is.matrix(mx) [1] FALSE Even if I use as.matrix the result is not better. What can I do? Thank you

[R] rearranging rows

2003-02-04 Thread Luca De Benedictis
Dear all, I am working with a matrix structured as follows Factor 1Factor2 ... Country 1 Country 1 Country 2 Country 2 ... Country N Country N and I need to rearrange it according to the following scheme Factor 1Factor2 ... Country 2 Country

[R] gray color in trellis xyplot

2003-01-28 Thread Luca De Benedictis
Dear all, if gray is the background collor of a trellis xyplot (in the lattice library) and I would like to switch to white, what I have to do? Why dark gray was chosen as the default color? Many thanks for the help. Luca __ [EMAIL PROTECTED] mailing