plot_contact_matrix {Bernadette}R Documentation

Contact matrix heatmap

Description

Contact matrix heatmap

Usage

plot_contact_matrix(x)

Arguments

x

data.frame; a contact matrix. See contact_matrix.

Value

A ggplot object that can be further customized using the ggplot2 package.

Examples

# Import the projected contact matrix for Greece:
conmat <- contact_matrix(country = "GRC")

plot_contact_matrix(conmat)


[Package Bernadette version 1.1.5 Index]