![]() |
VOOZH | about |
typeof() function in R Language is used to return the types of data used as the arguments.
Syntax: typeof(x) Parameters: x: specified dataExample 1: Output:
Time demand 1 1 8.3 2 2 10.3 3 3 19.0 4 4 16.0 5 5 15.6 6 7 19.8 [1] "list"Example 2: Output:
[1] "double" [1] "double" [1] "character" [1] "character" [1] "complex"