Description Usage Arguments Value Methods (by class)
This generic method computes the density of a network object
1 2 3 4  net.density(x, target, quiet = FALSE)
## S4 method for signature 'NetworkVariable'
net.density(x, target, quiet = FALSE)

x 
the object for which we want to compute the density 
target 
a 
quiet 
a 
A ScaleVariable
object.
NetworkVariable
: method for NetworkVariable
objects. The density is computed as the ratio of the number of existing connections over the total number of possible connections. The number of existing connections is computed as the number of occurences of the value '1' in the network. The total number of possible connections is computed as (number of row)*(number of rows  1).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.