Calculating Mean of multiple variables in R

If you want to learn how to properly ask questions here by providing a reproducible example (reprex) illustrating your issue.

Please have a look at this guide, to learn how to create one: