real                  package:base                  R Documentation

_R_e_a_l _V_e_c_t_o_r_s

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

     'real' creates a double precision vector of the specified length.
     Each element of the vector is equal to '0'.

     'as.real' attempts to coerce its argument to be of double type.

     'is.real' returns 'TRUE' or 'FALSE' depending on whether its
     argument is of double type or not.

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

     real(length = 0)
     as.real(x, ...)
     is.real(x)

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

  length: desired length.

       x: object to be coerced or tested.

     ...: further arguments passed to or from other methods.

_N_o_t_e:

     _R has no single precision data type. All real numbers are stored
     in double precision format_. These functions are the same as their
     'double' equivalents.

