It is useful to keep this snippet here (inspired by some SO user):
Welcome to SO! To help us help you, please read about how to make a reproducible example: How to make a great R reproducible example? tl;dr provide data, provide info on packages you use, provide all relevant code (what you have tried so far).