Nothing
itemChiSquare = function(observed, observedLevels, expected, expectedLevels, minObs, minExp){
observedTable = getTable(vars = observed, varsLevels = observedLevels)
expectedTable = getTable(vars = expected, varsLevels = expectedLevels)
if (any(expectedTable <= minExp) | any(observedTable <= minObs)){
return(NA)
} else {
obsMexp = (observedTable-expectedTable)^2/expectedTable
return(sum(obsMexp))
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.