scope from add1()-command in R
问题 I am not sure how to use the add1 command. Suppose I have a model y=b0+b1*x1 and I would like to know if it would be a better fit to add more independent variables. Now I would test all models y=b0+b1*x1+b2*x2 with different x2 (my different independent variables). The add1 command somehow needs a "scope". I am not sure of, what that is. I could not find out how to use the add1 command. If I do this: add1(fittedmodel) I get an error, so I suppose I need to specify which variable I want to use