R/dlogr.predict.R

dlogr.predict <-
function (x,BetaHat) {
# function to get predicted values for a set of 1 or more x's
	if (!is.matrix(x)) {
	   dim(x) <- c(1,length(x))
	}
	return(1/(1+exp(-x %*% BetaHat)))
}

Try the dma package in your browser

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

dma documentation built on May 2, 2019, 4:03 p.m.