Fitting linear regression model

It seems your pdi column is a factor rather than numeric. It is hard to say why without seeing more of your code, especially the reading in of the data. Please make a Reproducible Example (reprex).

Just a few lines of your data and then the fitting process should be enough.