gridVector            package:fUtilities            R Documentation

_G_r_i_d _V_e_c_t_o_r _C_o_o_r_d_i_n_a_t_e_s

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

     Creates from two vectors rectangular grid coordinates..

_U_s_a_g_e:

     gridVector(x, y = NULL)

_A_r_g_u_m_e_n_t_s:

    x, y: two numeric vectors of length m and n which span the 
          rectangular grid of size m times n. If 'y' takes the default
          value, 'NULL', then 'y=x'. 

_V_a_l_u_e:

     returns a list with two entries named '$X' and '$Y', giving the
     coordinates which span the bivariate grid.

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

     'expand.grid'.

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

     ## gridVector -
        gridVector((0:10)/10) 
        gridVector((0:10)/10, (0:10)/10)

