The three categorical characteristics of data are as follows:
- Data types: Data type generally refers to the type of the data in the respective column. R supports character, numeric (real or decimal), integer, logical, and complex numbers. When reading data in from CSV files, R automatically tries to determine the type of data in each column of the file. This might not always work as desired. For instance, a column with the prices of products may have a sign or text indicating the name of the currency (for example, USD/$ and GBP/£). Columns with text data may have unicode characters (for instance, Cyrillic or Greek) with accent marks. Reading data from an external structured data source such as a database ...