surScat | R Documentation |

`surScat`

produces a network object of coincidences from a data frame converting variables into dichotomies.

```
surScat(data, variables=names(data), active=variables, type=c("mca", "pca"), nclusters=2,
maxN=2000, ...)
```

`data` |
a data frame. |

`variables` |
a vector of variables included in the previous data frame. |

`active` |
a vector of variables actived in the previous data frame. |

`type` |
Factorial type: mca for qualitative active variables, pca for quantitative active variables. |

`nclusters` |
number of clusters. |

`maxN` |
Maximum number or rows. |

`...` |
Any netCoin argument. |

Possible measures in procedures are

Frequencies (f), Relative frequencies (x), Conditional frequencies (i), Coincidence degree (cc), Probable degree (cp),

Expected (e), Confidence interval (con)

Matching (m), Rogers & Tanimoto (t), Gower (g), Sneath (s), Anderberg (and),

Jaccard (j), Dice (d), antiDice (a), Ochiai (o), Kulczynski (k),

Hamann (ham), Yule (y), Pearson (p), odds ratio (od), Rusell (r),

Haberman (h), Z value of Haberman (z),

Hypergeometric p greater value (hyp).

Convert a matrix into an edge list (shape).

This function creates a netCoin object (or igraph) and, if stated, a folder in the computer with an HTML document named index.html which contains the produced graph. This file can be directly opened with your browser and sent to a web server to work properly.

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")}.

```
# A data frame with two variables Gender and Opinion
frame<-data.frame(Gender=c(rep("Man",3),rep("Woman",3)),
Opinion=c("Yes","Yes","No","No","No","Yes"))
surScat(frame) # network object
```

netCoin documentation built on March 31, 2023, 7:34 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.