Error when performing ols_regress function

Can anyone help me solve this error? Thank you in advance

Without a reprex (see the FAQ), all I can do is guess. Try renaming class to Class to avoid a possible namespace clash with the functioning reading class to mean the built-in function, rather than the data frame.

Screenshots are almost never helpful. Cut-and-paste output, at least.

Please follow @technocrat's advice.

In this case, it looks like you have passed reg to ols_req. reg is the output of the previous regression. It's isn't dataframe.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.