Hi, remember put and reproducible example the data for better help you. A example is this dput(youdata[1:30, ]). And some of code.
dput(youdata[1:30, ])
code