For example:

Model1=lm(DV ~ X + Y + Z)

In the above equation, is it correct to scale for x/y/z or would you only scale for x/y (assuming z is the only categorical variable)?

What should this look like in the R program?

- Thread starter bcrider
- Start date
- Tags categorical data r program regression analysis scaling