2018

Subsetting in the presence of NAs

October 6, 2018 | kjytay

In R, we can subset a data frame df easily by putting the conditional in square brackets after df. For example, if I want all the rows in df which have value equal to 1 in the column colA, all … Continue reading → [Read more...]

Make a trailer for your slidedeck with av

October 6, 2018 | Posts on Maëlle's R blog

rOpenSci post-doc hacker Jeroen Ooms has just released a cool new package, av, that he wrote “will become the video counterpart of the magick package which [rOpenSci uses] for working with images.”. av provides bindings to the FFmepg libraries for editing videos. It’s already become a renderer for gganimate ... [Read more...]

Analyzing the Greatest Strikers in Football II: Visualizing Data

October 6, 2018 | schochastics

This is the second part of Analyzing the Greatest Strikers in Football. In the first part, we created the function get_goals() which allows us to conveniently scrape detailed information of players career goals from transfermarkt.co.uk. In this part, we are going to explore the data.
library(tidyverse) # for data wrangling
library(lubridate) # for date formats
library(ggimage)   # adding images to ggplot
library(patchwork) # attaching ggplot objects
library(viridis)   # viridis color schemes
We ... [Read more...]

Quick Significance Calculations for A/B Tests in R

October 6, 2018 | John Mount

Introduction Let’s take a quick look at a very important and common experimental problem: checking if the difference in success rates of two Binomial experiments is statistically significant. This can arise in A/B testing situations such as online advertising, sales, and manufacturing. We already share a free video ... [Read more...]

RcppCCTZ 0.2.4

October 6, 2018 | Thinking inside the box

A new release 0.2.4 of RcppCCTZ is now on CRAN. RcppCCTZ uses Rcpp to bring CCTZ to R. CCTZ is a C++ library for translating between absolute and civil times using the rules of a time zone. In fact, it is two libraries. One for dealing with civil tim... [Read more...]

Combining automatically factor levels in R

October 6, 2018 | arthur charpentier

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 ...
[Read more...]

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

October 6, 2018 | Michael Grogan

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 ...
[Read more...]

Adding strings in R

October 5, 2018 | Jonathan Carroll

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](https://twitter.com/coolbutuseless) for proving that a little ...
[Read more...]

Image clustering with Keras and k-Means

October 5, 2018 | Dr. Shirin Glander

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 ...
[Read more...]

A few upcoming R conferences

October 5, 2018 | David Smith

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: ... [Read more...]

Adding strings in R

October 5, 2018 | Jonathan Carroll

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 | Mango Solutions

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 ... [Read more...]

7 steps that make custom inputs in shiny easy

October 5, 2018 | Sebastian Wolf

7 easy steps to custom inputs in shiny A step by step guide on how to include custom inputs into R Shiny. This guide is going through an example of a custom input build from jQuery. After the tutorial you will be able to: Build your own front-end elements in shiny ...
[Read more...]

One tweet leads to some R work about births

October 4, 2018 | Assorted things

This new post was born because of my curiosity about this tweet: Italy 1960-2014: Big drop in annual number of births, big increase in ages of mothers. #Italy #fertility pic.twitter.com/QGT0AnA3IU — Carl Schmertmann (@CSchmert) 7 de febrero de 2018 Sometimes you just feel the urge to recreate some ...
[Read more...]
1 38 39 40 41 42 174

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)