R/degrees.r

Defines functions degrees

degrees <- function(A){
 P   <- dim(A)[1]
 deg <- numeric(P)
 for(i in 1:P) deg[i] <- sum(A[i,])
 return(deg)
}

Try the ldstatsHD package in your browser

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

ldstatsHD documentation built on Aug. 14, 2017, 5:06 p.m.