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.

