chi_test | R Documentation |
This function runs the chi-square test for continuous or discrete data
chi_test(dta, nbins = c(50, 10), minexpcount = 5, typeTS, ponly = FALSE)
dta |
a list with two elements for continuous data or three elements for discrete data, Can also include weights for continuous data |
nbins |
=c(50, 10) number of desired bins |
minexpcount |
=5 smallest number of counts required in each bin |
typeTS |
=5 type of problem, continuous/discrete, with/without weights |
ponly |
Should the p value alone be returned? |
A list with the test statistics, the p value and the degree of freedom for each test
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.