to.chisq | R Documentation |
Given a vector of numerical values and which type of statistical distribition thet are (i.e., chisq, pvalue, zscore) it coverts them in chi-squared.
to.chisq(values, type = c("zscore", "chisq", "pvalue"))
values |
a vector of numerical values |
type |
which type of statistic distribution |
chi-squared values
Alessia Visconti
pvalues <- abs(rnorm(100, mean=0, sd=0.1))
to.chisq(pvalues, "pvalue")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.