R/getAIC.R

Defines functions getAIC

Documented in getAIC

getAIC <-
function(L,np,n,AICc=TRUE){
	result<-(-2)*(L)+2*np
	if(AICc)result<-result+2*np*((np+1)/(n-np-1))
	result
	}

Try the surface package in your browser

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

surface documentation built on Sept. 11, 2024, 5:28 p.m.