Re: [R] Wikis etc.

2006-01-06 Thread Fernando Henrique Ferraz P. da Rosa
people not directly interested in coding or development issues). -- Though this be randomness, yet there is structure in't. Rosa, F.H.F.P Instituto de Matemática e Estatística Universidade de São Paulo Fernando Henrique Ferraz P. da Rosa http

Re: [R] A comment about R:

2006-01-05 Thread Fernando Henrique Ferraz P. da Rosa
; x = rannor(seed); output; end; run; -- Though this be randomness, yet there is structure in't. Rosa, F.H.F.P Instituto de Matemática e Estatística Universidade de São Paulo Fernando Henrique Ferraz P. da Rosa http://www.feferraz.net

Re: [R] Wikis for R

2006-01-05 Thread Fernando Henrique Ferraz P. da Rosa
Fernando Henrique Ferraz P. da Rosa http://www.feferraz.net __ 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

Re: [R] Splitting the list

2006-01-05 Thread Fernando Henrique Ferraz P. da Rosa
/07/1623.html -- Though this be randomness, yet there is structure in't. Rosa, F.H.F.P Instituto de Matemática e Estatística Universidade de São Paulo Fernando Henrique Ferraz P. da Rosa http://www.feferraz.net

Re: [R] load object

2005-01-14 Thread Fernando Henrique Ferraz P. da Rosa
')) t -- Fernando Henrique Ferraz P. da Rosa http://www.ime.usp.br/~feferraz __ 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

Re: [R] Paths for Shell Scripts called from R

2004-12-11 Thread Fernando Henrique Ferraz P. da Rosa
/tmp/bla2.tex -- Fernando Henrique Ferraz P. da Rosa http://www.ime.usp.br/~feferraz __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] lattice graphics empty in Sweave

2004-12-10 Thread Fernando Henrique Ferraz P. da Rosa
} = This is addressed in Sweave's and R's FAQ. http://www.ci.tuwien.ac.at/~leisch/Sweave/FAQ.html#x1-8000A.6 http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-do-lattice_002ftrellis-graphics-not-work_003f -- Fernando Henrique Ferraz P. da

Re: [R] Mixed effects model help

2004-12-09 Thread Fernando Henrique Ferraz P. da Rosa
__ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Fernando Henrique Ferraz P. da Rosa http://www.ime.usp.br/~feferraz

Re: [R] Two factor ANOVA in lme

2004-11-24 Thread Fernando Henrique Ferraz P. da Rosa
is reacao = mu + posicao (fixed) + posicao*subject (random) + subject (random) Beware though that minitab uses different estimation methods (in lme itself you may use maximum likelihood other restricted m.l) and the results need not to be the same. -- Fernando Henrique Ferraz P. da

Re: [R] SAS or R software

2004-11-20 Thread Fernando Henrique Ferraz P. da Rosa
, but in order to exploit the power of it's approach, you'll find yourself in need to use one or more of them. -- Fernando Henrique Ferraz P. da Rosa http://www.ime.usp.br/~feferraz __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Difference between two correlation matrices

2004-11-19 Thread Fernando Henrique Ferraz P. da Rosa
of a covariance matrix, so you can use a test of hypothesis designed for covariance matrices. -- Fernando Henrique Ferraz P. da Rosa http://www.ime.usp.br/~feferraz __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Difference between two correlation matrices

2004-11-19 Thread Fernando Henrique Ferraz P. da Rosa
-guide.html -- Fernando Henrique Ferraz P. da Rosa http://www.ime.usp.br/~feferraz varcomp - function(covmat,n) { if (is.list(covmat)) { if (length(covmat) 2) stop(covmat must be a list with at least 2 elements) ps - as.vector(sapply(covmat,dim)) if (sum(ps

Re: [R] Exporting to file: passing source name to file name in loop

2004-11-14 Thread Fernando Henrique Ferraz P. da Rosa
. -- Fernando Henrique Ferraz P. da Rosa http://www.ime.usp.br/~feferraz __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] SAS to R migration questions

2004-09-12 Thread Fernando Henrique Ferraz P. da Rosa
of code in R will do what you described: cust - c(111,111,112) cc - data.frame(t(sapply(unique(cust),function(level,vec) { c(custid=level,freq=sum(vec==level)) },cust))) cc[order(cc$freq,decreasing=T),] Cheers, -- Fernando Henrique Ferraz P. da Rosa http://www.ime.usp.br/~feferraz

Re: [R] SAS to R migration questions

2004-09-12 Thread Fernando Henrique Ferraz P. da Rosa
Fernando Henrique Ferraz P. da Rosa writes: cust - c(111,111,112) cc - data.frame(t(sapply(unique(cust),function(level,vec) { c(custid=level,freq=sum(vec==level)) },cust))) cc[order(cc$freq,decreasing=T),] An even simpler solution: cc - data.frame(table(cust)) cc

[R] Contrast matrices for nested factors

2004-09-06 Thread Fernando Henrique Ferraz P. da Rosa
12 1 -1 -1 0 0 1 0 0 0 13 1 -1 -1 0 0-1 0 0 0 14 1 -1 -1 0 0-1 0 0 0 (notice that in the second matrix all collumns sum to 0, in the first they don't). Thank you, -- Fernando Henrique Ferraz P. da Rosa