February 2020
Intermediate to advanced
328 pages
8h 19m
English
Let's move on to the data processing part:
class(data$Sales)
Note that, in the data, the Sales column is of the factor datatype. We need to make this a numeric datatype in order to use it in our analysis:
data$Sales <- as.numeric(as.character(data$Sales))class(data$Sales)
Now, the class of the Sales column has been changed into a numeric datatype.
data_differenced = diff(data$Sales, ...
Read now
Unlock full access