#' dawnDamping
#'
#' dawnDamping calculates the damping factor
#'
#'
#' @param adjMatrix, the adjacency matrix
#' @param mu, the free parameter to fit
#' @return the vector for individualized damping factors
#' @export dawnDamping
dawnDamping <-
function(adjMatrix,mu){
links<-apply(adjMatrix,2,sum)
dvec<-links/(links+mu)
return(dvec)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.