makeExampleKnot: Randomly select a knot or a link from the local repository
Description
This function returns a randomly selected knot or link from the Rolfsen table or from the link repository.
It is used for the examples in some of the package help pages and can be used to test the different functions.
Usage
makeExampleKnot(k = TRUE)
Arguments
k
logical, if TRUE a knot is returned, otherwise it returns a link.
Value
A matrix with the 3D coordinates of a knot if k is FALSE. A list with two slots: the 3D coordinates of a link and
a vector of separators if k is TRUE.