grplot.parental.list: Plot a 'parental list'.

Description Usage Arguments Value See Also Examples

View source: R/grplot.R

Description

Plots a parental graph, by default using the layout routines of the package 'network'.

Usage

1
2
3
4
5
  ## S3 method for class 'parental.list'
 grplot(parentallist, col = 1,
  alpha = 1, edgecol = 1, edgealpha = 1, layout.par =
  list(niter = 2e+05), grobNode = grobNodeName,
  grobNodeSize = grobNodeNameSize, offset = 0.25, ...)

Arguments

parentallist

An object of class 'parental.list'

col

A vector of colours for the nodes (FIXME - does not currently work.)

alpha

A vector of alpha values for the nodes (FIXME - does not currently work.)

edgecol

A matrix of edge colours.

edgealpha

A matrix of edge alpha values

layout.par

Passed to network.layout.fruchtermanreingold

grobNode

A grob function that will be used to draw the nodes

grobNodeSize

A function that can compute the sizes of the nodes

offset

A offset

...

Further arguments (not currently passed on?)

Value

A lattice plot

See Also

grplot.parental, panel.parental

Examples

1
2
3
x <- parental(c(), c(1), c(2))
y <- parental(c(), c(3), c())
grplot(parental.list(x, y))

rjbgoudie/parental documentation built on May 27, 2019, 9:11 a.m.