Too much time spent motivating factor variables by reviewing table(). Move table() up to the summary variable part and have factor part just be a description of how to make a factor(). Also make the factor() version of continent INSIDE the gap dataframe by doing gap$continent_factor <- factor(gap$continent) so I don't need to clarify how it is outside the dataframe.
Too much time spent motivating factor variables by reviewing table(). Move table() up to the summary variable part and have factor part just be a description of how to make a factor(). Also make the factor() version of continent INSIDE the gap dataframe by doing gap$continent_factor <- factor(gap$continent) so I don't need to clarify how it is outside the dataframe.