November 2019

Does using dtplyr make sense for all datasets?

November 27, 2019 | Sebastian Wolf

When Hadley Wickham published dtplyr 1.0.0 last week, I was super excited. Moreover, I wanted to know, if it really is a useful package. Therefore I performed some tiny research being presented in this blog entry. Ok. So dtplyr gives you the speed of data.table with the nice API of ...
[Read more...]

Non-negative least squares

November 27, 2019 | kjytay

Imagine that one has a data matrix consisting of observations, each with features, as well as a response vector . We want to build a model for using the feature columns in . In ordinary least squares (OLS), one seeks … Continue reading →
[Read more...]

lmds: Landmark Multi-Dimensional Scaling

November 26, 2019 | R | Robrecht Cannoodt

Multi-dimensional scaling (MDS) (Kruskal 1964) is a dimensionality reduction method used for visualising and denoising high-dimensional data. However, since MDS requires calculating the distances between all pairs of data points, it does not scale well to datasets with a large number of samples. We released lmds v0.1.0, an implementation of Landmark ...
[Read more...]

How to easily make a ROC curve in R

November 26, 2019 | chris2016

A typical task in evaluating the results of machine learning models is making a ROC curve, this plot can inform the analyst how well a model can discriminate one class from a second. We developed MLeval (https://cran.r-project.org/web/packages/MLeval/index.html), a evaluation package for R, ...
[Read more...]

Search and discover CRAN packages with pkgsearch!

November 25, 2019 | Posts on R-hub blog

We have just released version 3.0.1 of the pkgsearch package on CRAN! ???? pkgsearch munges CRAN metadata and lets you access it through several lenses: search packages by keyword, popularity, recent activity, package name and more. Get pkgsearch’s latest version from a safe CRAN mirror near you: install.packages("pkgsearch") This ...
[Read more...]

Health Economics in R Hackathon

November 25, 2019 | Nathan Green

Imperial College 2019 On November 6th – 7th 2019 at Imperial College London, we hosted the first health economics in R hackathon. The event was aimed at health economists, statistcians and R users who are interested in creating new R tools to tackle problems in health economics large or small. There was a ...
[Read more...]

Creating WordPress blog posts with RMarkdown

November 25, 2019 | Nathan Green

R Markdown This blog post is written as an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com. When you click the Knit button a document will be generated that ... [Read more...]

De-duplicating clinic visits

November 25, 2019 | Nathan Green

Problem We want to only keep an individual’s clinic visits which are for new infections.Therefore, want to remove repeat visit to the clinicwhere a repeat is defined as within 6 weeks of the previous visit. Solutions There are a number of way to tackle this problem which vary in ... [Read more...]

R Programming for Public Policy Analysis

November 25, 2019 | Giles

Early in 2019 I posted a short ‘listicle’ with some of the key reasons I think Python and/or R should become essential tools in a modern policy analyst’s toolkit. The full article is here, but the headline points I in the article were; R programming’s use across disciplines ... [Read more...]

Another mixed effects model visualization

November 25, 2019 | Higher Order Functions

Last week, I presented an analysis on the longitudinal development of intelligibility in children with cerebral palsy—that is, how well do strangers understand these children’s speech from 2 to 8 years old. My analysis used a Bayesian nonlinear mixed effects Beta regression model. If some models are livestock and some ...
[Read more...]
1 2 3 4 11

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)