Skip to contents

Overview

cooccure cooccure-package
cooccure: co-occurrence networks from many kinds of data

Building networks

Co-occurrence networks from delimited columns, long tables, one-hot tables, sequences and event logs, with similarity, counting, scaling, filtering and groups.

cooccurrence() co()
Build a co-occurrence network

Results

Printing, summarizing and plotting a network, and its edge, node and group tables.

print(<cooccurrence>)
Print a co-occurrence network
summary(<cooccurrence>)
Summarize a co-occurrence network
print(<summary.cooccurrence>)
Print a co-occurrence network summary
as.data.frame(<cooccurrence>)
Extract the tables of a co-occurrence network
as.data.frame(<summary.cooccurrence>)
Extract the tables of a co-occurrence network summary
plot(<cooccurrence>)
Plot a co-occurrence network

Conversion

The weight matrix and the network classes of igraph, tidygraph, cograph and Nestimate.

as_matrix()
Extract the weight matrix of a co-occurrence network
as_igraph()
Convert a co-occurrence network to an igraph graph
as_tidygraph()
Convert a co-occurrence network to a tidygraph
as_cograph()
Convert a co-occurrence network to a cograph network
as_netobject()
Convert a co-occurrence network to a Nestimate netobject

Data

Films, casts and genres from the IMDb non-commercial datasets, and a small cast table.

movies
Highly rated films with their genres (IMDb, 1970-2024)
actors
Actors and the films they appeared in (IMDb, 1970-2024)
actor_genres
Actors and the genres of their films (IMDb, 1970-2024)
demo
A small cast table of ten films

Explorer

An interactive application for building networks.

launch_app()
Open the interactive co-occurrence explorer