Description Usage Arguments Details Value Author(s) Examples
Prints out APA style p-values
1 | pvalue(x)
|
x |
a object of class numeric |
Returns the p-value round at 3 digits or <.001 if necessary
a string
Marcello Gallucci
1 2 3 | d<-data.frame(cbind(y=rnorm(100,0,1),x=rnorm(100,0,1)))
p<-summary(lm(y~x,data=d))$coefficients[1,4]
pvalue(p)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.