simvar               package:classifly               R Documentation

_S_i_m_u_l_a_t_e _v_a_r_i_a_b_l_e.

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

     Simulate observations from a vector

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

     simvar(x, n=10, method="grid")

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

       x: data vector

       n: desired number of points (will not always be achieved)

  method: simulation method

_D_e_t_a_i_l_s:

     Given a vector of data this function will simulate data that could
     have come from that vector.

     There are three methods to choose from:

        *  nonaligned (default): grid + some random peturbation

        *  grid: grid of evenly spaced observations.  If a factor, all
           levels in a factor will be used, regardless of n

        *  random: a random uniform sample from the range of the
           variable

_A_u_t_h_o_r(_s):

     Hadley Wickham <h.wickham@gmail.com>

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

