getSleigh                package:nws                R Documentation

_G_e_t _S_l_e_i_g_h _o_b_j_e_c_t

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_N_o_t_e:

     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.

_S_e_e _A_l_s_o:

     'setSleigh', 'sleigh'

_E_x_a_m_p_l_e_s:

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

