R/degree.dists.R

Defines functions degree.dists

Documented in degree.dists

degree.dists <- function(d, exp.lambda = 3/2, normalize = TRUE){
  f.d <- exp(-log(exp.lambda) * d)  
  if(normalize & length(f.d) > 1) f.d/sum(f.d) else f.d
}

Try the streamDAG package in your browser

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

streamDAG documentation built on Oct. 7, 2023, 1:08 a.m.