Adds or changes the root of a network
RootNetwork.Rd
This function sets up the root and ensures that all nodes are connected to it, and preserves any old data. Any nodes not connected to the root are removed. By default, the function will root the network at the closest existing node to the specified root. Set tolerance = 0 to instead cause the function to create a new node