Learn R Programming

FSinR (version 2.0.8)

is.discrete: is.discrete(collection)

Description

Estimate if a collection contains discrete values

Usage

is.discrete(collection)

Value

  • True if the collecion is discrete, False otherwise

Arguments

collection
  • A collection of values

Author

Alfonso Jiménez Vílchez

Examples

Run this code
is.discrete(mtcars$gear)
is.discrete(iris$Sepal.Length)

Run the code above in your browser using DataLab