Like the function frcd, this routine serves as an internal tool for graph visualization. It is also designed to establish the coordinate system using the coord option within the multigraph and bmgraph functions. In this scenario, the graph's coordinate system commences with nodes randomly positioned, and if NULL is entered in the seed argument, an initial seed will be generated based on the computer clock watch where the number of iterations in maxiter is 40.
Returns
A data frame with a coordinated system with two columns representing the abscissa and the ordinate in a two-dimensional rectangular Cartesian coordinate system.
References
Gansner, E.R., Koren, Y., & North, S. Graph drawing by stress majorization. In Graph Drawing: 12th International Symposium, gd 2004, New York, NY, USA, September 29 - October 2, 2004, revised selected papers. Berlin Heidelberg: Springer. pp. 239-250. 2005.
Author(s)
Antonio Rivero Ostoic
See Also
multigraph, bmgraph, frcd, conc
Examples
## Create the data: two binary relations among three elementsarr <- round( replace( array(runif(18), c(3,3,2)), array(runif(18), c(3,3,2))>.5,3))## Coordinates for the stress majorization layout with random startcoord <- stsm(arr, seed =NULL)## Plot multigraph with customized coordinatesmultigraph(arr, coord = coord)