mat.or.vec               package:base               R Documentation

_C_r_e_a_t_e _a _M_a_t_r_i_x _o_r _a _V_e_c_t_o_r

_D_e_s_c_r_i_p_t_i_o_n:

     `mat.or.vec' creates an `nr' by `nc' zero matrix if `nc' is
     greater than 1, and a zero vector of length `nr' if `nc' equals 1.

_U_s_a_g_e:

     mat.or.vec(nr, nc)

_E_x_a_m_p_l_e_s:

     mat.or.vec(3, 1)
     mat.or.vec(3, 2)

