is.integeric {ggplot2}R Documentation

Are integers?

Description

Determine if a vector contains only integers

Usage

is.integeric(x)

Arguments

x vector to test

Author(s)

Hadley Wickham <h.wickham@gmail.com>

Examples

is.integeric(runif(100))
is.integeric(rpois(100, 10))
is.integeric(1:10)

[Package ggplot2 version 0.8.2 Index]