toDotNotation: toDotNotation: conver vocaldia to graphviz dot notation

Description Usage Arguments Details Value See Also Examples

View source: R/markov.R

Description

Create vocalisation diagram to file in dot (graphviz) notation

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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

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

vocaldia documentation built on July 2, 2020, 2 a.m.