powered by
Can be used as getScores input in pandemonium. Returns chi-squared values as the score and sigma bins as the bins.
chi2score(space1, covinv, exp, ...)
named list containing scores for use in pandemonium
dataframe with variables in space1
inverse covariance matrix from space1
reference point from space 1
other expected values of getScore
chi2score(Bikes$space1,solve(cov(Bikes$space1)), data.frame(value = colMeans(Bikes$space1)))
Run the code above in your browser using DataLab