| How to get and use tnet |
|
|
|
|
How to get tnet First, you need to open R. If you do not have R, or you have a version older than 2.7.0, on your computer:
Then, you need to download and install the package from CRAN: Select a server near you How to use tnet To activate the package, you need to type the following in R everytime you start R: library(tnet) Then, you should be able to use the functions available within tnet. To calculate the degree of an edgelist, you use the function called degree_w, e.g. ## Define edgelist ## To calculate degree vertex degree output |
|
| Last Updated ( Saturday, 13 June 2009 ) |



sample <- rbind(