Dear Colleagues, It is Eszter Illy??s from Hungary. I just have started to use R yesterday, so I am a real beginner (but I could run some PCOA and managed to transpose a dataframe). No I have a problem that I would like to standardize my datafile with the row totals and than make an arcsin squareroot transformation. How can I do that? In which package shall I look for and for what option? Thank you very much, have a nice day Eszter _______________________________________________________________________ K??ptipp! J??tssz a T-Online k??pkeres??j??vel! Ha el??g ??gyes ??s gyors vagy, felker??lhetsz a dics??s??gt??bl??ra... www.t-online.hu
Uwe Ligges
2005-Nov-02 12:17 UTC
[R] forgot to read the posting guide, was: Re: (no subject)
Illyes Eszter wrote:> Dear Colleagues, > > It is Eszter Illy??s from Hungary. I just have started to use R yesterday, > so I am a real beginner (but I could run some PCOA and managed to > transpose a dataframe). > > No I have a problem that I would like to standardize my datafile with > the row totals and than make an arcsin squareroot transformation. > How can I do that? In which package shall I look for and for what > option? > > Thank you very much, have a nice day > > Eszter > > _______________________________________________________________________ > K??ptipp! J??tssz a T-Online k??pkeres??j??vel! Ha el??g ??gyes ??s gyors vagy, > felker??lhetsz a dics??s??gt??bl??ra... www.t-online.hu > > ______________________________________________ > R-help at 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.htmlIf you have started yesterday you may have found R useful, but you for sure forgot to read the manuals and the posting guide (cited at the end of each R-help message, see above) before asking your questions. One point is, e.g., to use a sensible subject line in your message. After havng read the relevant documents, you might want to ask again... Best, Uwe Ligges
On Wed, 2005-11-02 at 13:10 +0100, Illyes Eszter wrote:> Dear Colleagues, > > It is Eszter Illy伱仼s from Hungary. I just have started to use R yesterday, > so I am a real beginner (but I could run some PCOA and managed to > transpose a dataframe). > > No I have a problem that I would like to standardize my datafile with > the row totals and than make an arcsin squareroot transformation. > How can I do that? In which package shall I look for and for what > option?For standardising by row total look at decostand() with method = "total" in package vegan. (360 / (2 * pi)) * asin(sqrt(x)) where x is vector of data-points will apply that transformation. If you want to apply it to all columns in your dataframe then look at ?sapply and modify the above accordingly. HTH G> Thank you very much, have a nice day > > Eszter > > _______________________________________________________________________ > K伱仼ptipp! J伱仭tssz a T-Online k伱仼pkeres伵慾伱仼vel! Ha el伱仼g 伱伡gyes 伱仼s gyors vagy, > felker伱伡lhetsz a dics伵憇伱仼gt伱仭bl伱仭ra... www.t-online.hu > > ______________________________________________ > R-help at 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-- %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% Gavin Simpson [T] +44 (0)20 7679 5522 ENSIS Research Fellow [F] +44 (0)20 7679 7565 ENSIS Ltd. & ECRC [E] gavin.simpsonATNOSPAMucl.ac.uk UCL Department of Geography [W] http://www.ucl.ac.uk/~ucfagls/cv/ 26 Bedford Way [W] http://www.ucl.ac.uk/~ucfagls/ London. WC1H 0AP. %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%