Analysis my data vs. library data

Most likely this is because you are still using the built-in dataset instead of your real data, you have to change the dataframe parameter to your own data i.e dataframe = sample

Also, please try to make your questions with a self-contained REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.

If you've never heard of a reprex before, you might want to start by reading this FAQ: