check function ?cor.test(). I hope it helps.
Best, Dimitris ---- Dimitris Rizopoulos Biostatistical Centre School of Public Health Catholic University of Leuven Address: Kapucijnenvoer 35, Leuven, Belgium Tel: +32/(0)16/336899 Fax: +32/(0)16/337015 Web: http://med.kuleuven.be/biostat/ http://www.student.kuleuven.be/~m0390867/dimitris.htm ----- Original Message ----- From: "Anne-Katrin Link" <[EMAIL PROTECTED]> To: <r-help@r-project.org> Sent: Thursday, February 28, 2008 4:17 PM Subject: [R] p-value in Spearman rank order > Dear R-helpers, > > I would like to do a Spearman rank order test, and used the cor() > function > with the method "spearman". > It gives me a number (correlation coefficient?) , but how can I get > the > p-value? > Thank you for the help in advance! > > Regards, > Anne-Katrin > > -- > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.