1 year ago

#359667

test-img

philphillis

Polynomial Regression - Unused Arguments

I have a dataset with 269 rows and only two variables (A: measurements, B: the time-point at which it was registered, goes from 1 to 280).

I already removed all NaN values after removing outliers with a Hampel filter.

I am trying to model my data with a Polynomial Regression. I used the following command:

model <- lm(A~ poly(B, 15, raw = TRUE), data = data_for_model)

However, I get the following error:

Error in poly(B, 15, raw = TRUE) : unused arguments (15, raw = TRUE)

Can anyone help me in this?

Thank you in advance

r

data-modeling

modeling

polynomials

0 Answers

Your Answer

Accepted video resources