Combining automatically factor levels in R

October 6, 2018
By
Combining automatically factor levels in R

Each time we face real applications in an applied econometrics course, we have to deal with categorial variables. And the same question arise, from students : how can we combine automatically factor levels ? Is there a simple R function ? I did upload a few blog posts, over the pas years. But so far, nothing satistfying. Let me...

Read more »

Understanding the limitations of group-level inequality data by @ellis2013nz

October 6, 2018
By
Understanding the limitations of group-level inequality data by @ellis2013nz

A critical tweet the other day by Nicolas Sommet reminded me of the book The Spirit Level: Why Equal Societies Almost Always Do Better”. That book argues that: “…there are ‘pernicious effects that inequality has on societies: eroding trust...

Read more »

Working with panel data in R: Fixed vs. Random Effects (plm)

October 6, 2018
By
Working with panel data in R: Fixed vs. Random Effects (plm)

Working with panel data in R: Fixed vs. Random Effects CategoriesAdvanced Modeling Tags Linear Regression Logistic Regression R Programming Video Tutorials Panel data, along with cross-sectional and time series data, are the main data types that we encounter when working with regression analysis. Types of data Cross-Sectional: Data collected at one particular point in time Time Series: Data collected across several time periods Panel Data: A...

Read more »

Will Brazil Goes to a Instant Runoff Election?

October 5, 2018
By
Will Brazil Goes to a Instant Runoff Election?

Alea Jacta Est This is the very last analysis before the election. A far-right nationalist candidate, Jair Messias Bolsonaro, is leading the polls with about 40% of the intentions, while the runner up candidate, Fernando Haddad, of a leftist coalition ...

Read more »

Image clustering with Keras and k-Means

October 5, 2018
By
Image clustering with Keras and k-Means

A while ago, I wrote two blogposts about image classification with Keras and about how to use your own models or pretrained models for predictions and using LIME to explain to predictions. Recently, I came across this blogpost on using Keras to extract learned features from models and use those to cluster images. It is written in Python, though -...

Read more »

The av Package: Production Quality Video in R

At rOpenSci we are developing on a suite of packages that expose powerful graphics and imaging libraries in R. Our latest addition is av – a new package for working with audio/video based on the FFmpeg AV libraries. This ambitious new project will become the video counterpart of the magick package which we use for working with images. install.packages("av") av::av_demo() The package...

Read more »

A few upcoming R conferences

October 5, 2018
By

Here are some conferences focused on R taking place in the next few months: Oct 26: Nor'eastR Conference (Providence, RI). A one-day R conference, organized by grassroots R community members in the Northeastern US. Oct 27: SatRdays Belgrade (Serbia). Another city joins the popular SatRDays series of one-day, community led conferences. Nov 7: EARL Seattle (Seattle, WA). The EARL...

Read more »

Adding strings in R

October 5, 2018
By
Adding strings in R

This started out as a “hey, I wonder…” sort of thing, but as usual, they tend to end up as interesting voyages into the deepest depths of code, so I thought I’d write it up and share. Shoutout to @coolbutuseless...Continue Reading →

Read more »

See us at ACoP 9 on Booth 27!

October 5, 2018
By

Mango Solutions are pleased to be exhibiting at ACoP 9 on 7-10th October at the Loews Coronado Bay Resort near San Diego, CA and welcome our customers and conference attendees to booth 27 where we will be showcasing our PK/PD model informed drug development tool – Navigator Workbench. Navigator Workbench provides a powerful, validated platform for PK/PD model development,...

Read more »

Send Desktop Notifications from R in Windows, Linux and Mac

October 4, 2018
By
Send Desktop Notifications from R in Windows, Linux and Mac

CategoriesProgramming Tags Best R Packages R Programming Tips & Tricks In the age of smartphones, Notifications have become an integral part of life that Smart watches have started popping up to handle our notifications. Desktop Notification is a very good way of letting the user know about a task completion or some information. Say, your model has been running and at the end, you...

Read more »

Environmental Performance Index – Simple Scatter Plot

October 4, 2018
By
Environmental Performance Index – Simple Scatter Plot

While reading the news that Ireland becomes world’s first country to divest from fossil fuels, I just got curious how do we measure “green-ness” of country when we rank them in general, and I came across the Environmental Performance Index page with ranking table. Table contained 180 countries with some numerics values for Environment Performance Index, “Enviornmental Health”, “Ecosystem Vitality”. I...

Read more »

Spookify: Halloween Name Generation in R

October 4, 2018
By

It’s October, time for spooky Twitter names! If you’re on this social media platform, you might have noticed some of your friends switching their names to something spooky and punny. Last year I was “Maelstrom Salmon”, which I find scary but is arguably not that funny. Anyhow, what if you want to switch your name but have no inspiration? In this post, we shall...

Read more »

Exporting editable plots from R to Excel: making ggplot2 purrr with officer

Exporting editable plots from R to Excel: making ggplot2 purrr with officer

I was recently confronted to the following problem: creating hundreds of plots that could still be edited by our client. What this meant was that I needed to export the graphs in Excel or Powerpoint or some other such tool that was familiar to the client, and not export the plots directly to pdf or png as I would normally do. I...

Read more »

Analyzing the Greatest Strikers in Football I: Getting Data

October 4, 2018
By
Analyzing the Greatest Strikers in Football I: Getting Data

I do not always come up with new ideas for my blog, but rather get inspired by the great work of others. In this case, it was a reddit post by u/Cheapo_Sam, who charted world footballs greatest goal scorers in a marvelous way. According to the post, the data was gathered manually which I thought is too tedious (Ain’t nobody got...

Read more »

r2d3 – R Interface to D3 Visualizations

October 4, 2018
By
r2d3 – R Interface to D3 Visualizations

As part our series on new features in the RStudio v1.2 Preview Release, we’re pleased to announce the r2d3 package, a suite of tools for using custom D3 visualizations with R. RStudio v1.2 includes several features to help optimize your development experience with r2d3. We’ll describe these features below, but first a bit more about the package. Features of r2d3...

Read more »

Community Call – Code Review in the Lab, or … How do you review code that accompanies a research project?

Community Call – Code Review in the Lab, or … How do you review code that accompanies a research project?

Do you have code that accompanies a research project or manuscript? How do you review and archive that code before you submit a paper? Our next Community Call will present different perspectives on this hot topic, with plenty of time for Q&A. What’s the culture of the group around feedback and code collaboration? What are the use cases? What are some practices...

Read more »

America – get ready for EARL!

October 4, 2018
By

With another brilliant EARL London behind us, we are now looking forward to bringing the conference to the US with three one day EARL Roadshow events! We couldn’t be more excited to bring the latest and greatest in R to three cities across America: Seattle – 7 November Houston – 9 November Boston – 13 November With speakers from...

Read more »

littler 0.3.5: Other kids broke my toys

October 4, 2018
By
littler 0.3.5: Other kids broke my toys

The sixth release of littler as a CRAN package is now available, following in the now more than twelve-year history as a package started by Jeff in 2006, and joined by me a few weeks later. littler is the first command-line interface for R and predates Rscript. And it is (in my very biased eyes) better as it allows for...

Read more »

Commercial data analytics: An economic view on the data science methods

October 3, 2018
By
Commercial data analytics: An economic view on the data science methods

CategoriesRegression Models Tags Data Visualisation Linear Regression Logistic Regression R Programming The most demanding skill in data science is statistical regression analysis, followed by clustering methods, and the third most required skill is visualization. So if the data scientist learns these analytical skills and focuses on how to use them it will be of great value to both the data scientist, the companies/ organizations as...

Read more »

TensorFlow, Jane Austen, and Text Generation

October 3, 2018
By

I remember the first time I saw a deep learning text generation project that was truly compelling and delightful to me. It was in 2016 when Andy Herd generated new Friends scenes by training a recurrent neural network on all the show’s episodes. Herd’s work went pretty viral at the time and I thought: via GIPHY And also: via GIPHY At the time...

Read more »

In case you missed it: September 2018 roundup

October 3, 2018
By

In case you missed them, here are some articles from September of particular interest to R users. R code by Barry Rowlingson to replicate an XKCD comic about curve fitting. The rayshader package creates 3-D relief maps in R with perspective, shadows, and depth of field. The R Developer's Guide to Azure, with links to documentation for Azure cloud...

Read more »

New Course: Factor Analysis in R

October 3, 2018
By
New Course: Factor Analysis in R

Here is the course link. Course Description The world is full of unobservable variables that can't be directly measured. You might be interested in a construct such as math ability, personality traits, or workplace climate. When investigating const...

Read more »

Gold-Mining Week 5 (2018)

October 3, 2018
By

Week 5 Gold Mining and Fantasy Football Projection Roundup now available. Go get that free agent gold! The post Gold-Mining Week 5 (2018) appeared first on Fantasy Football Analytics.

Read more »

A Tale of Two Shiny Apps: Google Auth & ShinyProxy

October 3, 2018
By
A Tale of Two Shiny Apps: Google Auth & ShinyProxy

Once upon a time, there was a team of fearless R knights who started a new quest: they were missioned to bring the almighty Google Auth into the wonderful world of ShinyProxy. Here is their story, told from the inside.   In the beginning, there was a container For those amongst our readers who do not know ShinyProxy, this...

Read more »

Last call for the course on text mining of next week

October 2, 2018
By
Last call for the course on text mining of next week

Last call for the 2-day course on Text Mining with R, held next week (08-09 October 2018) in Brussels, Belgium. Subscribe at https://www.eventbrite.co.uk/e/dsb2018-text-mining-with-r-jan-wijffels-bnosac-session-03-04-tickets-50586501588 You'll learn during that course the following: Cleaning of text data, regular expressions String distances Graphical displays of text data Natural language processing: stemming, parts-of-speech tagging, tokenization, lemmatisation, dependency parsing, noun phrase detection and keyword extraction Entity recognition & chunking using Conditional...

Read more »

Comparing Dataframes In R Using Comparedf

October 2, 2018
By

NOTE: This is a repost of an article that was first published in 2016 Introduction Every so often while doing data analysis, I have come across a situation where I have two datasets, which have the same structure but with small differences in the ac...

Read more »

Some Thoughts on R / Pharma 2018

October 2, 2018
By
Some Thoughts on R / Pharma 2018

It’s no secret that there are few industries more competitive than the pharmaceutical industry. Big money placed on long-shot bets for block-buster drugs where being first makes all the difference means a constant struggle to gain a competitive edge. So, you might find it surprising that the inaugural R / Pharma Conference held this past August on the Harvard...

Read more »

Le Monde puzzle [#1066]

October 2, 2018
By
Le Monde puzzle [#1066]

A purely (?) algorithmic Le Monde mathematical puzzle For the table below, what is the minimal number of steps required to reach equal entries when each step consists in adding ones to three entries sitting in a L, such as (7,11,12) or (5,6,10)? Same question for the inner table of four in yellow. For the

Read more »

AI, Machine Learning and Data Science Announcements from Microsoft Ignite

October 2, 2018
By

Microsoft Ignite, Microsoft's annual developer conference, wrapped up last week and many of the big announcements focused on artificial intelligence and machine learning. The keynote presentation from Microsoft's Cloud AI lead Eric Boyd showcases the major developments, or you can check out his accompanying blog post for a written summary. In this post, I'll dive down into the details...

Read more »

Search R-bloggers


Sponsors

Mango solutions





mckinsey.com

Zero Inflated Models and Generalized Linear Mixed Models with R



datasciencego.com

Quantide: statistical consulting and training

ODSC west

ODSC2 west

datasociety

http://www.eoda.de









Six Sigma Online Training

mljar.com

Our ads respect your privacy. Read our Privacy Policy page to learn more.

Contact us if you wish to help support R-bloggers, and place your banner here.