Hello @andresrcs! I have a quick question about your code, but I made a new thread for it since it is unrelated to the thread on this page.
You do not need to answer the question in my new thread, but I figured I would still alert you to it since I mention your username in it. (I am new to the RStudio community and am unsure whether it is impolite to discuss someone else's code without inviting them to the conversation.)