scaleData             package:ifultools             R Documentation

_S_c_a_l_e _n_u_m_e_r_i_c _d_a_t_a

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

     Scales the input data via a selected logarithmic function.

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

     scaleData(x, scale.="linear")

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

       x: an object that inherits from the numeric class, typically a
          'scalar', 'vector', or 'matrix'.

  scale.: a character string defining the type of scaling to perform.
          Choices are '"linear"','"log2"','"log10"','"log"' or '"db"'.
          Default: '"linear"' (no scaling).

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

     the scaled data is returned with an attribute '"scalestr"'
     attached, which defines the scaling treatment used on the input
     data.

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

     'logb', 'decibel'.

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

     scaleData(c(1,10,100,1000),scale="db")

