[R] how to judge a virable is a integer?

PO SU rhelpmaillist at 163.com
Sat Oct 18 12:41:02 CEST 2014



Dear usRers,
   I want to judge virable is or not a integer?
  e.g.  is.integer(1)  FALSE   because it is a numeric, but i want it's true.
as.integer may not be used. because i don't know a is 1 or 1.1.





--

PO SU
mail: desolator88 at 163.com 
Majored in Statistics from SJTU


More information about the R-help mailing list