An option similar to Bert's but looking more like a standard hypothesis test output is to use the function: SnowsCorrectlySizedButOtherwiseUselessTestOfAnything from the TeachingDemos package.
If you want a more useful result then you will need to be less general and more specific. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Bert Gunter > Sent: Sunday, May 16, 2010 9:26 AM > To: 'Soham'; r-help@r-project.org > Subject: Re: [R] p value > > runif(1) > > > Bert Gunter > Genentech Nonclinical Statistics > > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On > Behalf Of Soham > Sent: Saturday, May 15, 2010 9:05 AM > To: r-help@r-project.org > Subject: [R] p value > > > How to compute the p-value of a statistic generally? > -- > View this message in context: > http://r.789695.n4.nabble.com/p-value-tp2217867p2217867.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. > > ______________________________________________ > 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. ______________________________________________ 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.