powered by
Plots the minimum spanning tree of a set of coordinates
PlotMST(MSTCalc, color = "black", symbol = 16, xlimit = "NA", ylimit = "NA")
- Output from the MSTDist function
- Color of the lines connecting point
- Symbol value for the pch graphical parameter for plotting coordinates
- Array of values denoting the x-axis limits
- Array of values denoting the y-axis limits
Plots a minimum spanning tree
w<-MSTDist(longs=c(23,78,-23,56),lats=c(21,4,55,-3)) PlotMST(MSTCalc=w)
Run the code above in your browser using DataLab