logScale              package:ifultools              R Documentation

_L_o_g_a_r_i_t_h_m_i_c_a_l_l_y _s_p_a_c_e_d _s_c_a_l_e _v_e_c_t_o_r _g_e_n_e_r_a_t_i_o_n

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

     Creates a vector whose values are base-2 logarithmically spaced.

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

     logScale(scale.min, scale.max,
         scale.ratio=2, scale.res=NULL, coerce=NULL)

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

scale.min: an integer denoting the minimum scale.

scale.max: an integer denoting the maximum scale.

  coerce: the coercion function to use on the resulting scale vector.
          Default: NULL (no coercion).

scale.ratio: a numeric value representing the ratio of the next scale
          over the current scale, i.e., the ratio of successive scales.
          Default: 2.

scale.res: the numeric value denoting scale resolution. This input
          serves as an alternative to the 'scale.ratio' input, and is
          related via 'scale.ratio <- 1 / scale.res + 1' or conversely
          'scale.res <- 1/(scale.ratio - 1)'. Default: 'NULL'
          ('scale.ratio' is used instead).

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

     a numeric vector containing the scales.

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

     'scale', 'ilogb'.

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

     logScale(scale.min = 1, scale.max=34, scale.ratio=4)

