frag.relations.by.layers {archeofrag}R Documentation

Summary of the connection relationships between fragments within and between spatial units.

Description

Return a matrix with the number of relationships within and between spatial units (e.g., layers).

Usage

frag.relations.by.layers(graph, layer.attr)

Arguments

graph

An igraph object.

layer.attr

Character. The name of the vertices attribute giving the spatial unit of each fragment.

Details

This function is a useful method to summarise the distribution of connection relationships within and between spatial units (e.g., layers).

Value

A symmetrical matrix with the number of connection relationships within and between the spatial units.

Author(s)

Sebastien Plutniak <sebastien.plutniak at posteo.net>

Examples

g <- frag.simul.process(n.components=20, vertices=50, disturbance=.15)
frag.relations.by.layers(g, "layer")

[Package archeofrag version 0.8.2 Index]