September 2018
Beginner
206 pages
4h 27m
English
Code:
class("John Smith")typeof("John Smith")...class(as.Date("02-03-28"))typeof(as.Date("02-03-28"))
Output:
The preceding code provides the following output:

Thus, the table provided in this scenario can be filed in as follows:
| Variable | Class | Type |
| "John Smith" | character | character |
| 16 | numeric | double |
| 10L | integer | integer |
| 3.92 | numeric | double |
| -10 | numeric | double |
| "03-28-02" | character | character |
| as.Date("02-03-28") | Date | double |
Read now
Unlock full access