R/net.degree.R

Defines functions net.degree

Documented in net.degree

net.degree <-
function(theta)
{
K = length(theta)
degree = list()
for(k in 1:K)
{
	degree[[k]] = (rowSums(abs(theta[[k]])>1e-5)-1)
}

return(degree)
}
patrickjdanaher/JGL-package documentation built on Jan. 11, 2024, 12:56 a.m.