plot.parsed_character: Plots a plot.parsed_character Object

Description Usage Arguments Author(s) References

Description

Plots a plot.parsed_character object

Usage

1
2
3
4
5
6
## S3 method for class 'parsed_character'
plot(x, vertex.color = NA,
  vertex.frame.color = NA, vertex.label.font = 2, vertex.label.cex = 1,
  edge.width = 1.5, edge.color = "black", edge.arrow.size = 0,
  leaf.color = "chartreuse4", phrase.marker.color = "blue4", title = NULL,
  cex.title = 0.9, asp = 0.5, ...)

Arguments

x

A parsed_character object (see parser.

vertex.color

The vertex color (see ?igraph::igraph_options).

vertex.frame.color

The vertex frame color (see ?igraph::igraph_options).

vertex.label.font

The vertex label font (see ?igraph::igraph_options).

vertex.label.cex

The vertex label scaled relative to the default (see ?igraph::igraph_options).

edge.width

The edge width (see ?igraph::igraph_options).

edge.color

The edge color (see ?igraph::igraph_options).

edge.arrow.size

The edge arrow size (see ?igraph::igraph_options).

leaf.color

The color of the leaves (tokens).

phrase.marker.color

The color of the non-terminal grammar categories (e.g., NP, VP, D, etc.).

title

The main title of the graph.

cex.title

The size of the title relative to the default.

asp

The y/x aspect ratio.

...

Other arguments passed to plot.igraph.

Author(s)

StackOverflow's TheTime and Tyler Rinker <tyler.rinker@gmail.com>.

References

http://stackoverflow.com/a/33536291/1000343


trinker/parsent documentation built on May 31, 2019, 9:41 p.m.