View source: R/old-juvdens-functions.R
plotRoute | R Documentation |
Details
plotRoute(graph, nodes, add = FALSE, ...)
graph |
an input parameter |
nodes |
todo |
add |
add to an existing plot |
... |
todo |
Description - This function does stuff.
what does it return
getQMat
for creating a GMRF from a graph
#y <- rivs[rivs $ CATCH_NAME == "River Irvine",]
#g <- buildTopo(y)
#from = cbind(291867.1, 933646.4)
#to = cbind(312009.1, 922430.1)
#pp = routePoints(g, from, to)
#plot(y)
#plotRoute(g, pp, col = "blue", lwd = 2, asp = 1, xlab = "", ylab = "", add = TRUE)
#points(rbind(from, to))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.