R/Solow1993.eq2.fun.R

Defines functions Solow1993.eq2.fun

Documented in Solow1993.eq2.fun

Solow1993.eq2.fun <-
function(dd){
		names(dd)<-c("yrs", "sights")
		Tmin <- min(dd$yrs) 
		Tn <- max(dd[(dd$sights>0),]$yrs)-Tmin 
		Tmax <- max(dd$yrs)-Tmin
		n<-sum(na.omit(dd$sights))
		res<-(Tn/Tmax)^n
		return(res)
		}

Try the sExtinct package in your browser

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

sExtinct documentation built on May 30, 2017, 7:23 a.m.