Visualise multipletable replication structure as a bipartite graph.
1 2 3 4  replicationgraph(replicationmatrix, dimensionnames,
variablenames, min.interbox = 0.01, edgespace = 0.3,
boxheight = 1/(max(dim(replicationmatrix))  (1  min.interbox)),
cex = 1, lwd = 1)

replicationmatrix 
A binary matrix with rows and columns representing dimensions of replication and variables respectively. 
dimensionnames 
Optional character vector giving
names for the dimensions of replication. If

variablenames 
Optional character vector giving
names for the variables. If 
min.interbox 
Minimum interbox distance. 
edgespace 
Number between 0 and 1 giving the width of the space for the edges of the graph. 
boxheight 
Number greater than zero giving the height of the boxes representing the nodes of the graph. Numbers that are too large to fit in the plot region will be automatically reduced. 
cex 
Text size. 
lwd 
Edge width. 
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18  s < matrix(c(1, 1), 2, 1, byrow = TRUE, dimnames = list(c('sites',
'species'), c('abundance')))
replicationgraph(s)
s < matrix(c(1, 1, 0, 1), 2, 2, byrow = TRUE, dimnames = list(c('sites',
'species'), c('envrnmnt', 'abundance')))
replicationgraph(s)
s < matrix(c(1, 1, 0, 0, 1, 1), 2, 3, byrow = TRUE, dimnames = list(c('sites', '
species'), c('envrnmnt', 'abundance', 'traits')))
replicationgraph(s)
s < matrix(c(1, 1, 1, 0, 1, 1), 2, 3, byrow = TRUE, dimnames = list(c('sites',
'species'), c('envrnmnt', 'abundance', 'traits')))
replicationgraph(s)
replicationgraph(s, lwd = 10)
replicationgraph(s, cex = 3)
replicationgraph(s, edgespace = 0.1)
replicationgraph(s, boxheight = 0)
replicationgraph(s,
variablenames = c('envrnmntl\nvrbls','species\nabdncs','species\ntraits'))

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.