Frag.object-class {archeofrag}R Documentation

Class "Frag.object"

Description

A class for archaeological "fragmentation" datasets. This class construction aims to ensure that the data have been properly built before performing the next steps of the analysis. A convenient constructor function, make_frag_object, is provided.

Objects from the Class

Objects can be created by calls of the form:

make_frag_object(cr, sr, fragments).

Slots

df.cr:

Object of class "matrix" ("data.frame" are allowed and automatically converted)

df.sr:

Object of class "matrix" ("data.frame" are allowed and automatically converted)

fragments.df:

Object of class "data.frame"

frag_type:

Object of class "character"

Methods

make_cr_graph

signature(object = "Frag.object"): Makes an undirected graph representing the "connection" relationships between archaeological fragments.

make_sr_graph

signature(object = "Frag.object"): Makes an undirected graph representing the "similarity" relationships between archaeological fragments.

make_crsr_graph

signature(object = "Frag.object"): Makes an undirected graph combining the "connection" and "similarity" relations between archaeological fragments.

show

signature(object = "Frag.object"): show method for Frag.object

Author(s)

Sebastien Plutniak <sebastien.plutniak at posteo.net>

See Also

make_frag_object, make_cr_graph, make_sr_graph, make_crsr_graph

Examples

showClass("Frag.object")

[Package archeofrag version 0.8.2 Index]