integer                 package:base                 R Documentation

_I_n_t_e_g_e_r _V_e_c_t_o_r_s

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

     Creates or tests for objects of type `"integer"'.

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

     integer(length = 0)
     as.integer(x)
     is.integer(x)

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

     `integer' creates a integer vector of the specified length. Each
     element of the vector is equal to `0'. Integer vectors exist so
     that data can be passed to C or Fortran code which expects them.

     `as.integer' attempts to coerce its argument to be of integer
     type.

     `is.integer' returns `TRUE' or `FALSE' depending on whether its
     argument is of integer type or not.

