R/RN_calc_GPV.R

RN_calc_GPV <-
function (X, bind=TRUE) 
{
    	rnums <- sapply(X, is.numeric)
    	GL_LPV <- apply(X[rnums], 1, '.RN_calc_GPV_row')
    	if(bind)
    	{
    		GPV <- cbind(X, GL_LPV)
    		return(GPV)
	}
	else
	{
		return(GL_LPV)
	}
}

Try the RNentropy package in your browser

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

RNentropy documentation built on April 13, 2022, 5:22 p.m.