R/lambda1.R

Defines functions lambda1

Documented in lambda1

#' Inverse Mills rato
#'
#' This function allows you to calculate the inverse Mills ratio.
#' @param x Vector
#' @importFrom stats pnorm dnorm
#' @export
lambda1<-function(x){
	return(dnorm(x)/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.