December 2016

Pangaea and R and open palaeo data

December 16, 2016 | Gavin L. Simpson

For a while now, I’ve been wanting to experiment with rOpenSci’s pangaear package (Chamberlain et al. 2016), which allows you to search, and download data from, the Pangaea, a major data repository for the earth and environmental sciences. Earlier in the year, as a member of the editorial board ... [Read more...]

Cost Weighted Logistic Loss

December 15, 2016 | Aviad Klein

The problem of weighting the type 1,2 errors on binary classification came up in a forum I visit. My solution: Here we can see the different loss behaviours We will try to classify the Virginica species from the iris dataset   And now the loss functions:
[Read more...]

Plotting GeoJSON polygons on a map with R

December 15, 2016 | John Johnson

In a previous post we plotted some points, retrieved from a public dataset in GeoJSON format, on top of a Google Map of the area surrounding Greenville, SC. In this post we plot some public data in GeoJSON format as well, but instead of particular points, we plot polygons. Polygons ... [Read more...]

Seinfeld Characters – A Post About Nothing

December 15, 2016 | Scott Stoltzman

This post is dedicated to my mother – Seinfeld’s greatest fan. Seinfeld is a classic TV sitcom. It featured four main characters surrounded by relatively normal, everyday, run of the mill scenarios. In the spirit of Seinfeld, this post will also “be about nothing.” Load Required Libraries library(scales) library(...
[Read more...]

Discriminant Analysis of Several Groups

December 15, 2016 | Aaron Schlegel

Discriminant analysis is also applicable in the case of more than two groups. In the first post on discriminant analysis, there was only one linear discriminant function as the number of linear discriminant functions is , where is the number of dependent variables and is the number of groups. In... The ... [Read more...]

Basic Tree 2 Exercises

December 15, 2016 | Hasan Imtiaz

This is a continuation of the exercise Basic Tree 1 Answers to the exercises are available here. If you obtained a different (correct) answer than those listed on the solutions page, please feel free to post your answer as a comment on that page. Exercise 1 load the tree library. If it ... [Read more...]

Dynamically generated Shiny UI

December 15, 2016 | Ben Wilson

Gábor Csárdi — Mango Solutions Joe Cheng — RStudio Introduction It is not uncommon that the user interface of a Shiny application needs to be generated dynamically, based on data or program state. One typical use case that we encounter … Continue reading → [Read more...]

Simultaneous intervals for smooths revisited

December 15, 2016 | Gavin L. Simpson

Eighteen months ago I wrote a post in which I described the use of simulation from the posterior distribution of a fitted GAM to derive simultaneous confidence intervals for the derivatives of a penalised spline. It was a nice post that attracted some interest. It was also wrong. I have ...
[Read more...]

Simultaneous intervals for smooths revisited

December 15, 2016 | Gavin L. Simpson

Eighteen months ago I wrote a post in which I described the use of simulation from the posterior distribution of a fitted GAM to derive simultaneous confidence intervals for the derivatives of a penalised spline. It was a nice post that attracted some interest. It was also wrong. I have ... [Read more...]

Investigating Docker and R

December 14, 2016 | o2r project blog -- R

This post is regularly updated (cf. GH issue) and available under the URL http://bit.ly/docker-r. Last update: 11 Jan 2018. Docker and R: How are they used and could they be used together? That is the question that we regularly ask ourself. And we try...
[Read more...]

Dropdown menus in R Markdown with bsselectR

December 14, 2016 | Kyle Walker

I strongly believe that interactive reports, presentations, and scholarly articles are going to become much more prominent in the years ahead. Whereas a PDF article or presentation can often only show a limited aspect of a research project, interactive documents can allow a reader or presenter to explore project content ... [Read more...]

Investigating Docker and R

December 14, 2016 | o2r project blog -- R

This post is regularly updated (cf. GH issue) and available under the URL http://bit.ly/docker-r. Last update: 11 Jan 2018. Docker and R: How are they used and could they be used together? That is the question that we regularly ask ourself. And we try... [Read more...]

Dropdown menus in R Markdown with bsselectR

December 14, 2016 | Kyle Walker

I strongly believe that interactive reports, presentations, and scholarly articles are going to become much more prominent in the years ahead. Whereas a PDF article or presentation can often only show a limited aspect of a research project, interactive documents can allow a reader or presenter to explore project content ... [Read more...]

interactive and styled middle earth map

December 14, 2016 | Joshua Kunst

This is pure nerdism. There is a project to create a shapfile from a fictional world, the Middle Earth. The data is in this https://github.com/jvangeld/ME-GIS repository. The author of the r-chart.com web site made a ggplot version of this map ... [Read more...]
1 6 7 8 9 10 18

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)