one function a day: multiway tables with ftable it´s usual to make confusion tables or cross tables when we have vectors of same lenght to compute and cross classify them, but some other issues aris...
one function a day: filldown Sometimes we need to fill the values in a vector with previous values when data is missing. I wrote some convoluted code to do that but, as usual, som...
My package finally on CRAN Finally, my package “spanish” was ready for submission on CRAN and now it’s published!
Not a great piece of work, just a place to ga...
Great packages for understanding your data On the first steps of any project, the most usual task is to take a glimpse, figure how our data is distributed, and as fast as possible, be ready for...
Explainers: when your R model needs to be explained When working on Machine Learning for classification and predictive models we tend to use the well known packages as randomforest, caret, xgboost, gbm...
Geocoding with R and mapZen The most widely used service for Geocoding is Google Maps, but you’d hit the limits early in your project if you don’t have a paid account...
Easy library installing and loading I tend to use package managers for library load and management: pacman
https://cran.r-project.org/web/packages/pacman/vignettes/Introduction_to_pacman... read more
Spanish Stopwords for tidytext package A clever friend of mine says: the main programming language, is not Java or Python but English.
So, when you’re searching for help, you’ll...
Selecting packages while coding Sometimes, you must choose a package to achieve some results while you’re coding. Let’s say, you’re wrangling data and noticed you n...
How to navigate the world of R packages One of the most powerful features of R is the vast package echosystem. But there’s more than 11.000 packages just in CRAN, and a thousands more...
janitor, a good R package for Data Wrangling We all know the many hours spent cleaning and wrangling data. Sometimes I think my actual job is not “Data Scientist” but “Data Cleaner”. Data, as you...
3D chart using rgl library Iris is one of the most used data set in R. We’ve seen it in many formats, and broadly used for data manipulation. You could say that there’s nothing...
managing installation and packages in R: installR & pacman Mentioned yesterday the useful library pacman , so a brief comment about it is due. But I’m going to recommend installR for managing updates fir...
Easy Rstudio add-in management with addinslist package When started using Rstudio (some time ago) I had been wondering where the Rstudio Addins were located. There’s a menu option, but It was empty on my m...
Some essential R packages For me, there’s a bunch of packages considered as “essential” ‘cause in the end, sooner or later I use them in any project that involved opening the R...