May 2015

Geomorph update 2.1.5 Now Available!

May 24, 2015 | 0 Comments

Geomorph users,We have uploaded version 2.1.5 of geomorph* to CRAN. The windows and mac binaries have been compiled and the tarball is available.New Features:New Auto Mode allows users to include pre-digitized landmarks added to build.te... [Read more...]

another viral math puzzle

May 24, 2015 | 0 Comments

After the Singapore Maths Olympiad birthday problem that went viral, here is a Vietnamese primary school puzzle that made the frontline in The Guardian. The question is: Fill the empty slots with all integers from 1 to 9 for the equality to hold. In other words, find a,b,c,d,e,...
[Read more...]

Review of ‘Advanced R’ by Hadley Wickham

May 24, 2015 | 0 Comments

Executive summary Surprisingly good. And it’s not like my expectations were especially low. Structure There are 20 chapters.  I mostly like the chapters and their order. Hadley breaks the 20 chapters into 4 parts.  He’s wrong.  Figure 1 illustrates the correct way to formulate parts. Figure 1: Chapters and Parts of Advanced R.    ... [Read more...]

My favorite R bug

May 23, 2015 | 0 Comments

In this note am going to recount “my favorite R bug.” It isn’t a bug in R. It is a bug in some code I wrote in R. I call it my favorite bug, as it is easy to commit and (thanks to R’s overly helpful nature) takes ... [Read more...]

Parametric Inference: Likelihood Ratio Test Problem 2

May 23, 2015 | 0 Comments

More on Likelihood Ratio Test, the following problem is originally from Casella and Berger (2001), exercise 8.12.ProblemFor samples of size $n=1,4,16,64,100$ from a normal population with mean $mu$ and known variance $sigma^2$, plot the power function of the following LRTs (Likelihood Ratio Tests). Take $alpha = .05$. $H_0:muleq 0$ versus $H_1:mu__0$$H_0:...
[Read more...]

My New Book and Other Matters

May 22, 2015 | 0 Comments

I haven’t posted for a while, so here are some news items: My new book, Parallel Computation for Data Science, will be out in June or July. I believe it will be useful to anyone doing computationally intensive work. After a few months being busy with the book and ...
[Read more...]

visNetwork, Currencies, and Minimum Spanning Trees

May 22, 2015 | 0 Comments

Just because I’m ignorant doesn’t mean I won’t try things.  Feel free to correct any ignorance that follows.  More than anything I would like to feature the new htmlwidget visNetwork.  I thought  the example from Minimum Spanning Trees in R a... [Read more...]

R Now Contains 150 Times as Many Commands as SAS

May 22, 2015 | 0 Comments

by Bob Muenchen In my ongoing quest to analyze the world of analytics, I’ve updated the Growth in Capability section of The Popularity of Data Analysis Software. To save you the trouble of foraging through that tome, I’ve pasted it below. … Continue reading →
[Read more...]

Old is New: XML and rvest

May 22, 2015 | 0 Comments

Huh… I didn’t realize just how similar rvest was to XML until I did a bit of digging. After my wonderful experience using dplyr and tidyr recently, I decided to revisit some of my old RUNNING code and see if it could use an upgrade by swapping out the ... [Read more...]

Tutorial Recap: Analyzing Census Data in R

May 22, 2015 | 0 Comments

A big thanks to Gabriela de Quieroz for organizing the San Francisco R-ladies Meetup, where I spent a few hours yesterday introducing people to my census-related R packages. A special thanks to Sharethrough as well, for letting us use their space for the event. It was my first time running ...
[Read more...]

CONCOR in R

May 22, 2015 | 0 Comments

In network analysis, blockmodels provide a simplified representation of a more complex relational structure. The basic idea is to assign each actor to a position and then depict the relationship between positions. In settings where relational dynamics are sufficiently routinized, the relationship between positions neatly summarizes the relationship between sets ... [Read more...]

sjmisc – package for working with (labelled) data #rstats

May 22, 2015 | 0 Comments

The sjmisc-package My last posting was about reading and writing data between R and other statistical packages like SPSS, Stata or SAS. After that, I decided to bundle all functions that are not directly related to plotting or printing tables, into a new package called sjmisc. Basically, this package covers ...
[Read more...]

Undocumented behavior of ore.make.names() function in Oracle R Enterprise

May 22, 2015 | 0 Comments

While working with some data in Hive recently using the Oracle R Connectors for Hadoop (ORCH), I tried to use the ore.make.names function (of package OREbase ). The function creates valid column names for ore.frame objects. Here is a reproducible example, copied straight from the function documentation: Experimenting ... [Read more...]

Revolution R Open 3.2.0 now available for download

May 22, 2015 | 0 Comments

The latest update to Revolution R Open, RRO 3.2.0, is now available for download from MRAN. In addition to new features, this release tracks the version number of the underlying R engine version (so this is the release following RRO 8.0.3). Revolution R Open 3.2.0 includes: The latest R engine, R 3.2.0. This includes ... [Read more...]

Simple Regime Change Detection with t-test

May 21, 2015 | 0 Comments

It is always fun to find trend in time series data. But what about the scenarios where the trend in the time series changes. Detecting the point of this trend change can be quite beneficial. For example, if you can immediately detect the change in revenue regime of a company ... [Read more...]

Exact computation of sums and means

May 21, 2015 | 0 Comments

A while ago, I came across a mention of the Python math.fsum function, which sums a set of floating-point values exactly, then rounds to the closest floating point value. This seemed useful. In particular, I thought that if it’s fast enough it could be used instead of R’...
[Read more...]

BH release 1.58.0-1

May 21, 2015 | 0 Comments

A new released of BH is now on CRAN. BH provides a large part of the Boost C++ libraries as a set of template headers for use by R and Rcpp. This release both upgrades the version of Boost to the current release, and adds a new library: Boost MultiPr... [Read more...]

Vega.jl Rebooted – Now with 100% More Pie and Donut Charts!

May 21, 2015 | 0 Comments

          Mmmmm, chartjunk! Rebooting Vega.jl Recently, I’ve found myself without a project to hack on, and I’ve always been interested in learning more about browser-based visualization. So I decided to revive the work that John Myles White had done in building Vega.jl nearly two years ago. And ... [Read more...]
1 2 3 4 5 6 12

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)