1. A

    Caret package SAF/GAF error; "replacement has 1 row, data has 0"

    In R, whenever I try using the safs/gafs interface via. caret I keep running into this specific error: Error in { : task 1 failed - "replacement has 1 row, data has 0" Here is a link to the data I am using, stored as a .csv file. The .csv file given has a column with the row number which I...
  2. J

    Importance of vars in linear regression (R)

    I have a question that is and R question and a statistical question: I am analysing sales of a retailer. These sales are related to some vars: var1, var2, var3.., varN Most of the vars are continuos. I want to analyze the relationship between sales and the vars. I have made a linear...