getSleigh {nws} | R Documentation |
This function returns the sleigh object registered using
the setSleigh
function.
If a sleigh object hasn't been registered, a default
sleigh will be created and returned.
This function is primarily intended for use in packages that want to use Sleigh/NetWorkSpaces, but not require their users to explictly specify sleigh objects.
## Not run: s <- getSleigh() eachElem(s, sqrt, 1:10) ## End(Not run)