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 Sept. 7, 2020, 5:09 p.m.