Apr
7
Maintining the data frame fromat when indexing
Occasionally when indexing data frames the format is converted, leading to confusing consequences. As for instance, when indexing to select a single column the result is a 'numeric' or 'integer' vector. The following demonstrates this :