VOOZH about

URL: https://www.geeksforgeeks.org/r-language/checking-if-the-object-is-a-factor-in-r-programming-is-factor-function/

⇱ Checking if the Object is a Factor in R Programming - is.factor() Function - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Checking if the Object is a Factor in R Programming - is.factor() Function

Last Updated : 15 Jul, 2025
is.factor() function in R Language is used to check if the object passed to the function is a Factor or not. It returns a boolean value as output.
Syntax: is.factor(Object) Parameters: Object: Object to be checked
Example 1: Output:
[1] TRUE
Example 2: Output:
[1] FALSE
Comment
Article Tags:

Explore