Mastering Matrices

April 7, 2013
By
Mastering Matrices

R has many ways to store information.  Most of the time, our data comes in the form of a dataset, which we bring into R as a data.frame object. However, there are times when we want to use matrices as well. This post will show you how matrices can...

Read more »

Sync

April 7, 2013
By
Sync

I am listening to the audiobook Sync: How Order Emerges from Chaos in the Universe, Nature, and Daily Lifeby Steven Strogatz which I got from Audible. Obviously a mathematical book is not ideal to listen to, but lacking illustrations I can ma...

Read more »

Travis CI for R?

April 7, 2013
By
Travis CI for R?

I'm always worried about CRAN: a system maintained by FTP and emails from real humans (basically one of Uwe, Kurt or Prof Ripley). I'm worried for two reasons: the number of R packages is growing exponentially; time and time again I see frustrations ...

Read more »

Guide to accessing MS SQL Server and MySQL server on Mac OS X

April 6, 2013
By

Native GUI client access to MS-SQL and MySQL We can use Oracle SQL Developer with the jTDS driver to access Microsoft SQL Server. Note: jTDS version 1.3.0 did not work for me; I had to use version 1.2.6. Detailed instructions can be found here. We can use MySQL Workbench to access MySQL server. Setup is... Read more »

Mortality after paediatric heart surgery using public domain data

April 6, 2013
By
Mortality after paediatric heart surgery using public domain data

This post comes with some big health warnings. The recent events in Leeds highlight the difficulties faced in judging the results of surgery by individual hospital. A clear requirement is timely access to data in a form easily digestible by the public. Here I’ve scraped the publically available data from the central cardiac audit database

Read more »

Retirement : simulating wealth with random returns, inflation and withdrawals – Shiny web application

April 6, 2013
By
Retirement : simulating wealth with random returns, inflation and withdrawals – Shiny web application

Today, I want to share the Retirement : simulating wealth with random returns, inflation and withdrawals – Shiny web application (code at GitHub). This application was developed and contributed by Pierre Chretien, I only made minor updates. This is application is a great example of how easy it is to convert your R script into

Read more »

Worry about correctness and repeatability, not p-values

April 5, 2013
By
Worry about correctness and repeatability, not p-values

In data science work you often run into cryptic sentences like the following: Age adjusted death rates per 10,000 person years across incremental thirds of muscular strength were 38.9, 25.9, and 26.6 for all causes; 12.1, 7.6, and 6.6 for cardiovascular disease; and 6.1, 4.9, and 4.2 for cancer (all P < 0.01 for linear Related posts:

Read more »

Reconstructing Principal Component Analysis Matrix

April 5, 2013
By
Reconstructing Principal Component Analysis Matrix

PCA is widely used method for finding patterns in high-dimensional data. Whether you use it to compress large matrix or to remove one of the principal components in biological datasets, you’ll end up with the task of performing series of … Continue reading →

Read more »

Organise your data

April 5, 2013
By

Use R to specify factors, recode variables and begin by-group analyses. Video Files This file contains data on pain score after laparoscopic vs. open hernia repair. Age, gender and primary/recurrent hernia also included. The ultimate aim here is to work out which of these factors are associated with more pain after this operation. lap_hernia Script

Read more »

Properly “internationalized” regular expressions in R

April 5, 2013
By

We should pay special attention to writing a truly portable code that works in the same fashion under different locales and character encodings. Currently, R has two Regex engines, ERE (via TRE) and PRE (via PCRE). What is surprising, they…Read more ›

Read more »

Security in R: RAppArmor package & paper updates

April 5, 2013
By

This week version 0.8.3 of RAppArmor appeared on CRAN. RAppAmor is a package to dynamically enforce security policies and hardware restrictions in R on Linux systems. It currently supports Ubuntu 12.04+, Debian 7 and OpenSuse 12.1+. The readme page has more info, and helpful video tutorials to get you started. One important change in the ...

Read more »

Multiple pairwise comparisons for categorical predictors

April 5, 2013
By
Multiple pairwise comparisons for categorical predictors

Dale Barr (@datacmdr) recently had a nice blog post about coding categorical predictors, which reminded me to share my thoughts about multiple pairwise comparisons for categorical predictors in growth curve analysis. As Dale pointed out in his post, the R default is to treat the reference level of a factor as a...

Read more »

Interview by DecisionStats

April 5, 2013
By

Ajay Ohri interviewed me on his popular DecisionStats blog. Topics discussed ranged widely from Fellows Statistics, to Deducer, to statnet, to Poker A.I., to Big Data.    

Read more »

Extending RevoScaleR for Mining Big Data – Hexbins

April 5, 2013
By
Extending RevoScaleR for Mining Big Data – Hexbins

by Derek McCrae Norton, Senior Sales Engineer It is my job to help potential clients see that the tasks they are used to completing can be completed on big data in Revolution R Enterprise (and that it is easy). Honestly, this is my dream job, and in my eyes it is sort of like playing and getting paid for...

Read more »

Import/Export data to and from xlsx files

April 5, 2013
By
Import/Export data to and from xlsx files

As Ive already written, getting data into R from your precious xlsx files is really handy. No need to clutter up your computer with txt or csv files. The previous post I wrote about the gdata package for importing data from xlsx files and was pointed to, among others, the xlsx package. xlsx seems to

Read more »

Estimated Follower Accession Charts for Twitter

April 5, 2013
By
Estimated Follower Accession Charts for Twitter

Just over a year or so ago, Mat [email protected] introduced me to a visualisation he’d been working on (How should Page Admins deal with Flame Wars?) that I started to refer to as an accession chart (Visualising Activity Around a Twitter Hashtag or Search Term Using R). The idea is that we provide each entrant

Read more »

d3 Lifeline from vega and clickme

April 4, 2013
By

This has been an exciting week for d3.js and R with the release of vega by the data vis powerhouses at Trifacta launch of clickme and already significant rewrite to accommodate vega inception of a very promising d3 templates DexCharts described in multiple posts. I am glad to have had...

Read more »

Announcing eeptools 0.2

April 4, 2013
By

My R package eeptools has reached version 0.2. As with the last release, this is still a preliminary release which means that functionality is not full, function names and code behavior may still change from version to version, and I am still looking f...

Read more »

Subtraction Is Crazy

April 4, 2013
By
Subtraction Is Crazy

I was re-reading Michael Murray’s explanation of cointegration: and marvelling at the calculus. Calculus blows my mind sometimes. Like, hey guess how much we can do with subtraction. — protëa(@isomorphisms) March 28, 2013 Of course it’s not any subtraction. It’s subtracting a function from a shifted version of itself. Still doesn’t sound like a universal revolution. (But of course the...

Read more »

R, D3js and SNA Course

April 4, 2013
By
R, D3js and SNA Course

Update 2015-11-09: This is migration from an old post. I took the SNA course by Lada Adamic in coursera. It’s a super interesting course. In fact, I was using the networks only how a visualization tool, and that is what it make me little bit embarrassing because there are more, a lot of more. You can detect communities,...

Read more »

Tutorial- Building Biological Networks

April 4, 2013
By
Tutorial- Building Biological Networks

I love networks! Nothing is better for visualizing complex multivariate relationships be it social, virtual or biological. I recently gave a hands-on network building tutorial using R and Cytoscape to build large biological networks. In these networks Nodes represent metabolites and edges can be many things, but I specifically focused on biochemical relationships and chemical

Read more »

Demographic analysis using the `popbio` library and some other fun stuff

April 4, 2013
By
Demographic analysis using the `popbio` library and some other fun stuff

This week at the Davis R Users’ Group we had a great presentation by Kara Moore O’Leary on using the popbio package to examine rare plant demographics. The following is her script run through knitr. You can download the original script and associated data here. Find out more about Kara and her work at...

Read more »

R 3.0 released; ggplot2 stat_summary bug fixed!

April 4, 2013
By

The new version of R was released yesterday. As I understand it, the numbering change to 3.0 represents the recognition that R had evolved enough to justify a new number rather than the addition of many new features. There are some important new featur...

Read more »

An Introduction to SAS for R Programmers

April 4, 2013
By

by Joseph Rickert Life decisions are usually much too complicated to be attributed to any single cause, but one important reason that I am here at Revolution today is that I ignored suggestions from well-meaning faculty back in graduate school to work more in SAS rather than doing everything in R. There was a heavy emphasis on SAS then:...

Read more »

List of Bioinformatics Workshops and Training Resources

April 4, 2013
By

I frequently get asked to recommend workshops or online learning resources for bioinformatics, genomics, statistics, and programming. I compiled a list of both online learning resources and in-person workshops (preferentially highlighting those where workshop materials are freely available online):List of Bioinformatics Workshops and Training ResourcesI hope to keep the page above as up-to-date as possible....

Read more »

Test from knitr to wordpress

April 4, 2013
By
Test from knitr to wordpress

Title This is an R Markdown document. Markdown is a simple formatting syntax for authoring web pages (click the MD toolbar button for help on Markdown). When you click the Knit HTML button a web page will be generated that includes both content as well as the output of any embedded R code chunks within

Read more »

Measuring the Intensity of Historical Crises with VaR (Part 2)

April 4, 2013
By
Measuring the Intensity of Historical Crises with VaR (Part 2)

Adam Duncan, December 2012Also avilable on R-bloggers.com If you missed the first part of this analysis, be sure to check it out on gtog.github.com.In this part of the analyis, I’m going to look at the actual 1 day negative returns / VaR estimates (“VaR breaks”) across a numnber of different asset classes. The hope is to arrive at...

Read more »

Construct an unique index from two integer (Pairing Function)

April 3, 2013
By
Construct an unique index from two integer (Pairing Function)

Recently, I need to construct an unique index from two integer. The best solution I found is the Pairing function. Pairing function is an one to one and onto function that map two integers to a single integer. The definition as follows: If ordering of x and y is not important, we can swap x

Read more »

Interactive visualization of survival curves with Shiny

April 3, 2013
By
Interactive visualization of survival curves with Shiny

We have a growing interest in using our favorite tools (R and Mathematica) to build web interfaces to interactively explore and visualize data. Our last 5 posts have involved interactive tools, namely Mathematica’s computable document format and R’s new Shiny package. There is a new kid on the block for interactive visualization tools in R,

Read more »

Sponsors

Mango solutions



plotly webpage

dominolab webpage



Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training

datasociety

http://www.eoda.de





ODSC

ODSC

CRC R books series





Six Sigma Online Training









Contact us if you wish to help support R-bloggers, and place your banner here.