R/is.degen.R

Defines functions is.degen

Documented in is.degen

is.degen <-
function(x)
{
	if(var(x)==0)
	{
		return(data.frame("qchisq"=Inf,"pvalue"=0));
	}
	else
	{
		return(data.frame("state"=-1,"pvalue"=1));
	}
}

Try the DnE package in your browser

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

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