Hi,
It depends on the function used to calculate it---each has their own
way of extracting particular values. Here's an example for t.test:
x <- rnorm(10, 100, .1); y <- x - 100
t.test(x, y)$p.value
You could find this yourself by looking at the documentation for t.test()
?t.test
The heading
I was wondering if there is a way to get an exact p-value at times where R
gives me just a range . for example
t.test(x,y)
p-value < 2.2e-16
thanks,
--
View this message in context:
http://r.789695.n4.nabble.com/getting-the-exact-p-value-tp3075107p3075107.html
Sent from the R help mailing l
2 matches
Mail list logo