SyntaxFix
Write A Post
Hire A Developer
Questions
It appears that at least one of your predictors ,x1, x2, or x3, has only one factor level and hence is a constant.
x1
x2
x3
Have a look at
lapply(dataframe.df[c("x1", "x2", "x3")], unique)
to find the different values.