Description
Usage
Arguments
Value
See Also
View source: R/graph.R
Places node coordinates in the twodimensional euclidean plane.
 (graph, n, generator, by.centers = , par.fun = , )

graph 
[mcGP ]
Multiobjective graph problem.

n 
[integer ]
Number of coordinates to place. If by.centers is FALSE a single
integer value is expected. Otherwise, a vector v may be passed. In this case
v[i] coordinates are generated for each cluster. However, if a single value is
passed and by.center == TRUE , each cluster is assigned the same number of
coordinates.

generator 
[function(n, ...) ]
Function used to generate coordinates. The generator needs to expect the number
of points to generate as the first argument n . Additional control argument are
possible.

by.centers 
[logical(1) ]
Should coordinates be placed for each cluster center seperately? This enables
geneation of clustered coordinates.
Default is FALSE .

par.fun 
[function(cc)  NULL ]
Optional function which is applied to each cluster center cc before the generation
of coordinates in case by.centers is TRUE . This enables to specifically
determine additional parameters for the generator for each cluster.

... 
[any]
Furhter arguments passed down to generator .

[mcGP
] Multiobjective graph problem.
Other graph generators: addCenters
,
addWeights
, mcGP
mcMST documentation built on May 1, 2019, 10:29 p.m.