I'm currently conducting a statistical test on unimodality but I'm a little unsure about the R-output:

I'm curious about the difference between the meanings of poly(X, 2)1 and poly(X, 2)2?
I'm currently conducting a statistical test on unimodality but I'm a little unsure about the R-output:

I'm curious about the difference between the meanings of poly(X, 2)1 and poly(X, 2)2?
When you run poly(Dat$X, 2), you get a matrix with two columns, named "1" and "2". poly(X, 2)1 and poly(X, 2)2 in your output refer to those two columns.