These functions are designed to convert data sets or distance matrices to graphs.
1 2 
x 
the data matrix, if 
k 
the number of neighbors for a knn graph 
eps 
size of fixed radius 
weighted 
if TRUE the graph will be weighted. Note if TRUE use

dist 
when dist=TRUE then x is a distance matrix 
... 
Extra parameters for the daisy(...) method 
The daisy function in cluster library is used primarily due to its speed and reliability.
g 
A graph made from data x or distance matrix as input. 
This command relies on the cluster library
Mark Culp
M. Culp (2011). spa: A SemiSupervised R Package for SemiParametric GraphBased Estimation. Journal of Statistical Software, 40(10), 129. URL http://www.jstatsoft.org/v40/i10/.
spa
knnGraph
epsGraph
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.