asNodes | R Documentation |

Nodes data frame from either an edge list or a `coin`

object.

```
asNodes(C, frequency = TRUE, percentages = FALSE, language = c("en","es","ca"))
```

`C` |
has to be an edge list or, better, a |

`frequency` |
add frequency of nodes |

`percentages` |
add nodes percentages |

`language` |
a character vector (es=spanish; en=english; ca=catalan). |

A data frame with nodes' names and their frequency and/or percentages if the input is a `coin`

object

Modesto Escobar, Department of Sociology and Communication, University of Salamanca. See https://sociocav.usal.es/blog/modesto-escobar/

Escobar, M. and Martinez-Uribe, L. (2020)
Network Coincidence Analysis: The `netCoin`

`R`

Package.
*Journal of Statistical Software*, **93**, 1-32.
\Sexpr[results=rd]{tools:::Rd_expr_doi("10.18637/jss.v093.i11")}.

```
# From a random incidence matrix I(25X4)
I <- matrix(rbinom(100, 1, .5), nrow = 25, ncol = 4,
dimnames = list(NULL, c("A", "B", "C", "D")))
C <- coin(I)
asNodes(C)
```

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.