Description Usage Arguments Value Author(s) Examples

Construction of a sociomatrix from an edgelist

1 |

`el` |
a matrix in which each row contains the indices of an edge and possibly the weight for the edge |

`directed` |
if FALSE, then a relation is placed in both entry ij and ji of the sociomatrix, for each edge ij (or ji) |

`nadiag` |
put NAs on the diagonal |

a sociomatrix

Peter Hoff

1 2 3 |

pdhoff/amen documentation built on Aug. 5, 2018, 4:11 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.