toDotNotation: toDotNotation: conver vocaldia to graphviz dot notation

View source: R/markov.R

toDotNotationR Documentation

toDotNotation: conver vocaldia to graphviz dot notation

Description

Create vocalisation diagram to file in dot (graphviz) notation

Usage

toDotNotation(
  vd,
  individual = T,
  varsizenode = T,
  shape = "circle",
  fontsize = 16,
  rankdir = "LR",
  nodeattribs = "fixedsize=true;",
  comment = ""
)

Arguments

vd

a vocalisation diagram

individual

if TRUE write individual node names

varsizenode

if true set varsizenode in dot

shape

node shape

fontsize

font size

rankdir

direction of ranking (LR, RF etc)

nodeattribs

attributes for node

comment

comments

Details

Create a vocalisation diagram in dot notation

Value

character data containing the diagram in dot format.

See Also

graphviz manual

Examples

data(vocdia)
toDotNotation(getSampledVocalMatrix(subset(atddia,
                                           id=='Abbott_Maddock_01'),
                             individual=TRUE, nodecolumn='speaker'))

vocaldia documentation built on Aug. 15, 2022, 1:05 a.m.