uses various sampling strategies to create dummy nodes for the tnss_tree
tnss_dummies( xy, root, circ = TRUE, line = TRUE, diag = TRUE, grid = FALSE, rand = FALSE, ncirc = 9, rcirc = 2, nline = 10, ndiag = 50, ngrid = 50, nrand = 50 )
coordinates of "real" nodes
root node id
logical. create circular dummy nodes around leafs.
logical. create dummy nodes on a straight line between root and leafs.
logical. create dummy nodes diagonally through space.
logical. create dummy nodes on a grid.
logical. create random dummy nodes.
numeric. number of circular dummy nodes per leaf.
numeric. radius of circles around leaf nodes.
numeric. number of straight line nodes per leaf.
numeric. number of dummy nodes on diagonals.
numeric. number of dummy nodes per dim on grid.
numeric. number of random nodes to create.
coordinates of dummy nodes
# dummy nodes for tree rooted in California xy <- cbind(state.center$x,state.center$y) xy_dummy <- tnss_dummies(xy,4)