R for Excel Users: Pivot Tables, VLOOKUPs in R

New business and financial analysts are finding¬†R¬†every day.¬†Most of these new¬†userRs¬†(R users) are coming from a non-programming background. They have ample domain experience in functions like finance, marketing, and business, but their tool of choice is¬†Excel¬†(or more recently Tableau & PowerBI)….




Categories: Curriculum Tags:
Jueves, 27 de febrero de 2020 Sin comentarios

A simple introduction to programming and statistics with decision trees in R

University students in other disciplines without prior knowledge in statistics and/or programming language are introduced to the statistical method of decision trees in the programming language R during a 45‚Äźminute teaching and practice session. Statistics and programming skills are now frequently required within a wide variety of research fields and private industries. However, students unfamiliar with these subjects may be reluctant to join a full course because of time or student workloads or other commitments or a belief it is not for them. The proposed session is short and can be used as an ice‚Äźbreaker to let students have a basic understanding of running statistical models in programming language….



Categories: Curriculum Tags:
Lunes, 17 de febrero de 2020 Sin comentarios

Animated Plots using ggplot and gganimate

Did you know, that you can transform plain old static ggplot graphs to animated ones? Well you can with the help of the package gganimate by RStudio’s Thomas Lin Pedersen and David Robinson and the results are amazing! My STATWORX colleagues and I are very impressed how effortless all kind of geoms are transformed to suuuper smooth animations. That’s why in this post I will provide a short overview over some of the wonderful functionalities of gganimate, I hope you’ll enjoy them as much as we do!



Categories: Curriculum Tags:
Domingo, 16 de febrero de 2020 Sin comentarios

R-INLA review (part II)

The¬†first review¬†was about the main ideas and the approximations itself. This time¬†its a review about the spatial models, see the new¬†¬†arxiv’ed report.

Categories: Curriculum Tags:
Viernes, 23 de febrero de 2018 Sin comentarios


¬ęOur world, our life, our destiny, are dominated by Uncertainty; this is perhaps the only statement we may assert without uncertainty.¬Ľ

(de Finetti)

Categories: Curriculum Tags:
S√°bado, 30 de septiembre de 2017 Sin comentarios

NIMBLE: A new way to do MCMC (and more) from BUGS code in R

Interesante … escribir BUGS pero sin utilizar BUGS…


Write statistical models in the BUGS language from R

NIMBLE adopts and extends BUGS as a modeling language and lets you program with the models you create.

Other packages that use the BUGS language are only for Markov chain Monte Carlo (MCMC). With NIMBLE, you can turn BUGS code into model objects and use them for whatever algorithm you want. That includes algorithms provided with NIMBLE and algorithms you write using nimbleFunctions. NIMBLE extends BUGS by allowing multiple parameterizations for distributions, user-written functions and distributions, and more.



Categories: Curriculum Tags:
Martes, 5 de julio de 2016 Sin comentarios

Introducing Microsoft R Open

Microsoft poco a poco se va introduciendo en el mundo del R, primero compr√≥ Revolutions-Analytics; y ahora ya ofrecve un R server… pues lo √ļltimo ha sido que RStudio tambien se puede conectar a este server y trabajar contra el.

Introducing Microsoft R Open: Replay and slides

We had a fantastic turnout to last week’s webinar, Introduction to Microsoft R Open. If you missed it, you can watch the replay below. In the talk, I gives some background on the R language and its applications, describe the performance and reproducibility benefits of Microsoft R Open, and give a demonstration of the basics of the R language along with a more in-depth demo of producing a beautiful weather data chart with R.



Categories: Curriculum Tags:
Domingo, 7 de febrero de 2016 Sin comentarios

A gentle introduction to parallel computing in R

Una buena introducción.


Categories: Curriculum Tags:
Miércoles, 20 de enero de 2016 Sin comentarios

Happy collaboration with Rmd to docx

Os dejo un enlace interesante: This article is reposted from graphdoctor.com with the kind permission of Richard Layton.


Categories: R & RStudio Tags:
Jueves, 23 de julio de 2015 Sin comentarios

Paquetes para manipular Datos en R

Computerworld’s list of R packages for data wrangling

Computerworld’s Sharon Machlis published today a very useful list of R packages that every R user should know. The list covers packages for data import, data wrangling, data visualization and package development, but for beginning R users the biggest challenge is usually just dealing with data. To that end, I thought it was worth listing the package for data access and manipulation, which I thoroughly endorse:

  • Data import/access:¬†readr¬†(text data files),¬†rio¬†(many binary data file formats),¬†readxl (Excel spreadsheets),¬†googlesheets (Google Sheets), RMySQL(MySQL databases),¬†quantmod (economic and financial data sources);
  • Data manipulation: dplyr (general data frame processing); data.table (aggregation and filtering); tidyr (tidying messy data into row/col format);¬†sqldf (SQL queries on data frames), zoo (time series data wrangling)

Check out Sharon’s complete list below for details on these and many other useful R packages.

Categories: R & RStudio Tags:
Viernes, 15 de mayo de 2015 Sin comentarios