R/lambda0.R

Defines functions lambda0

Documented in lambda0

#' Inverse Mills rato
#'
#' This function allows you to calculate the inverse Mills ratio.
#' @param x Vector
#' @importFrom stats pnorm dnorm
#' @export
lambda0<-function(x){
	return(dnorm(x)/(1-pnorm(x)))
	}

Try the ui package in your browser

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

ui documentation built on Nov. 11, 2019, 5:07 p.m.