
上QQ阅读APP看书,第一时间看更新
Activity: Identifying Variable Classes and Types
Scenario
You need to write some code for classifying the data correctly for easy report generation. The following is the provided data:

Aim
To identify different classes and types of data in R.
Prerequisites
A pencil or pen, plus RStudio and R installed on your machine.
Steps for completion
- Fill in the table provided with the class and type of each variable.
- Use the class() or typeof() functions if you get stuck, but first try and fill it in without the code!