R/cF.R

Defines functions cF

cF <-
function(x, iter, Xpred, icov, P, Beta, Sigma) {
	res <- sum(P[iter,]*pnorm(x, mean = Xpred[icov,]%*%t(Beta[iter,,]), sd = Sigma[iter,]))
	res
}

Try the ROCnReg package in your browser

Any scripts or data that you put into this service are public.

ROCnReg documentation built on March 31, 2023, 5:42 p.m.