Please post a small data set and some code that demonstrates what you are trying to do. You can make a data set with the data.frame() function or using the output of the dput() function. For example
dput(head(DF))
would produce output that others can use to reproduce the first six rows of the data frame DF.
Please post your output and code between lines with three back ticks.
```
Your code here
```