I need help I do not understand R first time coding.

Also, please read this guide about how to properly ask R related questions here: