Cannot Figure Out this error: "Error: unexpected symbol"

Good evening,
I am trying to figure out where my error is with my code (see attached .jpg). I researched other forums, but I still cannot resolve this issue. I began working with R only five months ago, and this is the first issue I have had working on this platform.

Thank you all in advance, your help on this matter is greatly appreciated.

Are you missing a comma after ‘APACHE’ inside the TRUE statement?

Thank you so much @michaelbgarcia for you help. I was missing a comma.

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.