Here, I put small R codes that can be useful at some point in your analytics project.