getSleigh {nws}R Documentation

Get Sleigh object

Description

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.

Note

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.

See Also

setSleigh, sleigh

Examples

## Not run: 
s <- getSleigh()
eachElem(s, sqrt, 1:10)

## End(Not run)

[Package nws version 2.0.0.3 Index]