Ekaterina Pek wrote:
Hi, all.
Yet another beginner to R : )
I wonder, how it's possible to get the value of a coefficient from the
object produced by cor.test() ?
cor.test(a, b, method="spearman")
You can always assign the value of a function to a variable, and then
use ?str to see the s
result <- cor.test(a,b,method="spearman")
result$estimate
Cheers
Joris
On Tue, Jun 8, 2010 at 10:40 PM, Ekaterina Pek wrote:
> Hi, all.
>
> Yet another beginner to R : )
>
> I wonder, how it's possible to get the value of a coefficient from the
> object produced by cor.test() ?
>
>> cor.test(a,
Hi, all.
Yet another beginner to R : )
I wonder, how it's possible to get the value of a coefficient from the
object produced by cor.test() ?
> cor.test(a, b, method="spearman")
Spearman's rank correlation rho
data: a and b
S = 21554.28, p-value = 2.496e-11
alternative hypothesis: tru
3 matches
Mail list logo