What are the basic types of objects in R?
Instruction: List and briefly describe the basic object types found in R.
Context: This question gauges the candidate's foundational knowledge of R's object types and their characteristics.
Updated
Official answer available
Read the opening below, then unlock the full answer and practical guidance.
Distinguish storage type from class and shape. typeof describes the underlying representation; class controls many methods; attributes such as dimensions and levels add structure.
Atomic vector types include logical, integer, double, complex, character and raw. NULL represents absence; NA is a missing value with typed forms. Lists are generic vectors whose elements can hold different objects...