July 2018

Evaluation of the 2018 FIFA World Cup Forecast

July 22, 2018 | Achim Zeileis

A look back the 2018 FIFA World Cup in Russia to check whether our tournament forecast based on the bookmaker consensus model was any good... How surprising was the tournament? Last week France won the 2018 FIFA World Cup in a match against Croatia in Russia, thus delivering an entertaining final to ... [Read more...]

(Automatically Show Output)

July 22, 2018 | kaijagahm

Problem It’s annoying to have to type the name of an object I just created in order to print its output in a script. Context A certain lightsaber-wielding stats professor of mine liked to point out that R doesn’t go out of its way to be helpful. If ...
[Read more...]

prop.table()

July 22, 2018 | kaijagahm

Problem How can I convert a frequency table into proportions? Context This is a continuation of the data manipulation discussed in the ​`​with()` post. I had just finished making a table # Load data from GitHub polygon
[Read more...]

How likely is a stock market crash?

July 22, 2018 | Data-based investor

In this post we'll look at the odds of a stock market crash from the view point of valuation. We'll use my favorite valuation measure Shiller P/E or CAPE ratio, which is just like regular P/E except it's calculated by using earnings of the last ten yea...
[Read more...]

My Notes on R Markdown

July 22, 2018 | Yongfu, Liao

I’ve used R Markdown to do lots of work, such as writing a book, doing homework on statistics and ecology, and making web pages. The above mentioned are all HTML output formats from R Markdown, but PDF output formats are also possible, such as this ... [Read more...]

Web Scraping Javascript Content

July 21, 2018 | John Goldin

Web scraping with rvest and SelectorGadget can be powerful and fun. Recently I have experimented with trying to scrape a table from the Chronicle of Higher Education that showed compensation for university CEO’s. With a certain amount of trial and error I used SelectorGadget to find the fields I ... [Read more...]

container – deque, set and dict for R

July 21, 2018 | Roman Pahl

Recently managed to put up my new package container on CRAN (and finally have a compelling reason to start an R-blog …). This package provides some common container data structures deque, set and dict (resembling Pythons dict type), with typical member functions to insert, delete and access container elements. If you ...
[Read more...]

Web Scraping Javascript Content

July 21, 2018 | John Goldin

Web scraping with rvest and SelectorGadget can be powerful and fun. Recently I have experimented with trying to scrape a table from the Chronicle of Higher Education that showed compensation for university CEO’s. With a certain amount of trial and error I used SelectorGadget to find the fields I ... [Read more...]

simmer 4.0.0

July 21, 2018 | Iñaki Úcar

The 4.0.0 release of simmer, the Discrete-Event Simulator for R, is on CRAN under a new license: we decided to switch to GPL __= 2. Most notably in this major release, the C++ core has been refactorised and exposed under inst/include. This is not a big deal for most users, but it ... [Read more...]

MiKTeX Behind a Windows Firewall

July 20, 2018 | TeachR

I’ve always had problems with MiKTeX on my work computer. I can install it just fine, or get IT to install it, but then the package manager doesn’t work because of our firewall. You can set up a local repository to get around this problem, and I will ... [Read more...]

R.devices – Into the Void

July 20, 2018 | JottR on R

R.devices 2.16.0 - Unified Handling of Graphics Devices - is on CRAN. With this release, you can now easily suppress unwanted graphics, e.g. graphics produced by one of those do-everything-in-one-call functions that we all bump into once in a while. To suppress graphics, the R.devices package provides graphics ... [Read more...]
1 4 5 6 7 8 17

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)