I need to combine two data sets - training and test sets, which have a different number of columns (12 and 11, respectively).
But in version R v.3.6.4. as has showing on course “Big Mart Sales Prediction using R" for R v.3.4.0 (URL: https://courses.analyticsvidhya.com/courses/take/big-mart-sales-prediction-using-r/texts/6120085-understanding-the-data), following command:
test [, Item_Outlet_Sales: = NA]
leads to an error and the impossibility of further manipulation of the data.
Can someone tell me the working code for the version R v.3.6.4 working in RStudio?
Thank you very much in advance!