September 2017

Written Multiple-Choice Exams with R/exams

September 17, 2017 | R/exams

Create exam The first step in conducting a written exam with multiple-choice (and/or single-choice) exercises in R/exams' NOPS format is to create the exam in PDF format. First, we load the R exams package and then simply create a list of exercise file names. library("exams") myexam [Read more...]

RcppClassic 0.9.7

September 17, 2017 | Thinking inside the box

A rather boring and otherwise uneventful release 0.9.7 of RcppClassic is now at CRAN. This package provides a maintained version of the otherwise deprecated first Rcpp API; no new projects should use it. Once again no changes in user-facing code. But... [Read more...]

R with remote databases Exercises (Part-2)

September 17, 2017 | Jakub Kwiecien

This is common case when working with data that your source is a remote database. Usual ways to cope this when using R is either to load all the data into R or to perform the heaviest joins and aggregations with SQL before loading the data. Both of them have ... [Read more...]

Le Monde puzzle [#1021]

September 17, 2017 | xi'an

A puzzling Le Monde mathematical puzzle for which I could find no answer in the allotted time!: A most democratic electoral system allows every voter to have at least one representative by having each of the N voters picking exactly m candidates among the M running candidates and setting the ...
[Read more...]

pinp 0.0.1: pinp is not PNAS

September 16, 2017 | Thinking inside the box

A brandnew and very exciting (to us, at least) package called pinp just arrived on CRAN, following a somewhat unnecessarily long passage out of incoming. It is based on the PNAS LaTeX Style offered by the Proceeding of the National Academy of Science...
[Read more...]

drat 0.1.3

September 16, 2017 | Thinking inside the box

A new version of drat arrived earlier today on CRAN as another no-human-can-delay-this automatic upgrade directly from the CRAN prechecks. It is mostly a maintenance release ensuring PACKAGES.rds is also updated, plus some minor other edits. drat sta... [Read more...]

Generalized linear functions (Beginners)

September 16, 2017 | Francisco Méndez

On this set of exercises, we are going to use the lm and glm functions to perform several generalized linear models on one dataset. Since this is a basic set of exercises we will take a closer look at the arguments of these functions and how to take advantage of ... [Read more...]

It’s a FAKE (?)! Revisiting Trust In FOSS Ecosystems

September 15, 2017 | hrbrmstr

I’ve blathered about trust before 1 2, but said blatherings were in a “what if” context. Unfortunately, the if has turned into a when, which begged for further blathering on a recent FOSS ecosystem cybersecurity incident. The gg_spiffy @thomasp85 linked to a post by the SK-CSIRT detailing the discovery and ...
[Read more...]

Quick #sjPlot status update… #rstats #rstanarm #ggplot2

September 15, 2017 | Daniel

I’m working on the next update of my sjPlot-package, which will get a generic plot_model() method, which plots any kind of regression model, with different plot types being supported (forest plots for estimates, marginal effects and predictions, including displaying interaction terms, …). The package also supports rstan resp. rstanarm ...
[Read more...]

Microsoft R Open 3.4.1 now available

September 15, 2017 | David Smith

Microsoft R Open (MRO), Microsoft's enhanced distribution of open source R, has been upgraded to version 3.4.1 and is now available for download for Windows, Mac, and Linux. This update upgrades the R language engine to R 3.4.1 and updates the bundled packages. MRO is 100% compatible with all R packages. MRO 3.4.1 points ... [Read more...]

Introduction to statistical thinking

September 14, 2017 | R on francojc ⟲

Before we begin working on the specifics of our data project, it is important to have a clear understanding of some of the basic concepts that need to be in place to guide our work. In this post I will cover some of these topics including the impor...
[Read more...]

Yet another plot of R’s colors()

September 14, 2017 | Posts on GGVY

I know there are plenty of these online, but I just thought about having my own for quick reference…
ncols <- ceiling(sqrt(length(colors())))^2
dat <- matrix(1:ncols, sqrt(ncols))
image(dat, col = colors()[1:ncols])
pos <- seq(0, 1, length.out = sqrt(ncols))
pos <- lapply(pos, function(x) cbind(x, pos))
pos <- do.call(rbind, pos)

ncols <- length(colors())
text(x=pos[1:ncols,2], y=pos[1:ncols,1], labels = 1:ncols, cex=.75, srt=60)
[Read more...]

Le Monde puzzle [#1020]

September 14, 2017 | xi'an

A collection of liars in this Le Monde mathematical puzzle: A circle of 16 liars and truth-tellers is such that everyone states that their immediate neighbours are both liars. How many liars can there be? A circle of 12 liars and truth-tellers is such that everyone state that their immediate neighbours are ...
[Read more...]

Probability functions advanced

September 14, 2017 | Francisco Méndez

In this set of exercises, we are going to explore some applications of probability functions and how to plot some density functions. The package MASS will be used in this set. Note: We are going to use random numbers functions and random processes functions in R such as runif. A ... [Read more...]
1 6 7 8 9 10 15

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)