Description Usage Arguments Value Examples
View source: R/wilcoxon.pvalues.r
See https://en.wikipedia.org/wiki/Wilcoxon_signed-rank_test Uses psignrank function from stats package
1 | wilcoxon.pvalues(x, n, digits = 4)
|
x |
List of named quantiles (see example) |
n |
Sample size (e.g., how many locations) |
digits |
Default is to round to 4 digits |
Returns p values
1 2 3 4 5 | x <- c(white=0, black=0, native=0, multi=0, minority=9, ling.isol=1,
age0.4=41, age0.17=0, age65.up=57, no.hs.diploma=41, low.income=48)
# Sample Size (# of facilities w/ 3 mi. population >= 100):
n <- 13
print( wilcoxon.pvalues(x,n) )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.