> pchisq(1.2654,1)
[1] 0.7393686

looks like excel gave you the other tail ....


                bob kinley




richard mendes <mendes.richard@gmail.com> 
Sent by: r-help-bounces@stat.math.ethz.ch
18/10/2005 16:13

To
R-help@stat.math.ethz.ch
cc

Subject
[R] p-value calculation






hello everybody

i'm very new at using R so probably this is a very stupid question.
I have a problem calculating a p-value. When i do this with excel i
can use the method CHIDIST for 1.2654 with 1 freedom degree i get the
answer 0.261

i just want to do the same thing in R but i can't find a method.
can somebody help me

friendly regards

richard

______________________________________________
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


	[[alternative HTML version deleted]]


