Let's go ahead and (like we did previously in this chapter) use the R commands colnames and summary; this time on our new data file:
As can be seen, there is an additional field (or component) present in our file, sale_type, and executing the summary command yields the following statistics, including a breakdown of the sale types:
The next step will depend on your hypothesis. If, for example, you have some idea that the type of sale (sale_type) has some effect on the overall sales performance, you then need to produce the ...