PK models in R and in Julia

March 29, 2012
By

1.1 Pharmacokinetic models with an analytic solution Pharmacokinetics is the study of the absorption and elimination of drugs and their metabolites in the body. As described in the wikipedia article there are several parameters, such rate constants,...

Read more »

Updates to the Deducer family of packages

March 29, 2012
By

Over the past month there have been a number of package updates in the deducer ecosystem. Deducer is a general purpose, extensible, data analysis GUI. It is designed to be a free easy to use alternative to proprietary data analysis software such as SPSS, JMP, and Minitab. It has a menu system to do common

Read more »

Using wordcloud on search terms & phrases

March 28, 2012
By
Using wordcloud on search terms & phrases

The wordcloud package for R is great, but all the examples I found used the tm package to process a large amount of textual data (web pages, text files, google docs, etc.)But what if you have normalized data where you have a word and its frequency? Or,...

Read more »

email habits over time

March 28, 2012
By
email habits over time

I was curious if my sleeping/waking habits had really changed over the years – I definitely don’t feel I work as late now as when I was 22, but it’s hard to tell. To test this, I looked over all … Continue reading →

Read more »

robust pdf title extraction

March 28, 2012
By

I end up with a lot of PDF documents lying around – at last glance, this amounted to a few thousand files. Unfortunately, most of these documents end up with rather obscure names, making it rather annoying to find what … Continue reading →

Read more »

tcp timelines with ggplot2

March 28, 2012
By
tcp timelines with ggplot2

I’ve come across the need to analyze TCP flows from time to time, and while scripts like flowtime and EasyTimeline are nice, they aren’t really, well, pretty.  ggplot2, on the other hand is, and it turns out to be really easy to … Continue reading →

Read more »

SCRIPT for NIR "DEMO" Tutorial – 001

March 28, 2012
By
SCRIPT for NIR "DEMO" Tutorial – 001

########### RAW NIR Demo Data##################################demo<-read.table("demo.txt",header=TRUE)VIS<-demoVIS<-as.matrix(VIS)NIR<-demoNIR<-as.matrix(NIR)ALL<-demoALL<-as.matrix(ALL)Protein<-demo...

Read more »

Bigger data, better intelligence for government

March 28, 2012
By

Tomorrow (at 2PM Eastern on Thursday), the White House White House Office of Science and Technology Policy will host a 90-minute forum on Challenges and Opportunities in Big Data. You can watch the event live at the previous link, and see federal government science heads from OSTP, NSF, NIH, DoE, DoD, DARPA and USGS outline how their agencies are...

Read more »

U.S. Soldiers Died from What?

March 28, 2012
By
U.S. Soldiers Died from What?

Prior to WWII, the majority of soldiers died from disease and infection. The Invisible Enemy Often Killed You Before Your Political Enemy Imagine the scene: thousands of military men laying on cots, makeshift beds, or the floor ...

Read more »

RcppArmadillo 0.2.37 and 0.2.38 released, but not on CRAN

March 28, 2012
By

Conrad is readying his fabulous Armadillo C++ template library for linear algebra for a new 3.0.0 release, and started to make pre-releases. His version 2.99.1 came about a good week ago, it took us a few days to make a small required change in RcppAr...

Read more »

Go faster R for Google’s summer of code 2012

March 28, 2012
By

The R Foundation has been accepted for Google’s summer of code and I thought I would suggest a few ideas for projects. My interests are in optimization and source code analysis, so obviously the suggestions involve these topics. There are an infinite number of possible optimizations that can be applied to code (well, at least

Read more »

useR!2012 – student’s scholarship for attending the conference

March 28, 2012
By

Good news for students wishing to attend the annual useR conference (useR!2012). Through generous sponsor support (ASA, and RStudio), a limited number of student scholarships1 are available for reimbursement of travel and registration costs up to $500. The allocation will be based on merit and need. Students who wish to apply should send an application to Tatsuki Koyama ([email protected]) no later than...

Read more »

Applying Same Changes to Multiple Dataframes

March 28, 2012
By
Applying Same Changes  to Multiple Dataframes

How to apply the same changes to several dataframes andsave them to CSV: # a dataframea <- data.frame(x = 1:3, y = 4:6)# make a list of several dataframes, then apply function (change column names, e.g.):my.list <- list(a, a)my.list <- lapply(...

Read more »

lubridate: working with date and time in R

March 28, 2012
By
lubridate: working with date and time in R

Working with date and time in R is sometimes tricky. Today I gave lubridate a try and was surprised on how easy it can be. Lubridate is a available on git and on CRAN. There is also a good introduction … Continue reading →

Read more »

AQP Kick-Start

March 27, 2012
By

A fun kick-starter for anyone interested in working with soil profile data in R, via AQP. See in-line comments for details. Up next, profile slicing and aggregation. read more

Read more »

Ruin probability and infinite time

March 27, 2012
By
Ruin probability and infinite time

A couple of weeks ago, I had a discussion with a practitioner, working in some financial company, about ruin, and infinite time. And it remind me a weird result. Well, not a weird result, but a result I found disturbing, at first, when I was a stud...

Read more »

Students: Help improve R with the Google Summer of Code

March 27, 2012
By

The Google Summer of Code project provides funding for students to write and contribute code to open-source projects of interest to Google. And given that R is widely used at Google, it's certainly a project of significant interest. So for the fifth year running the R Project will mentor students as part of GSOC 2012 to develop packages and...

Read more »

R Fell on Alabama–Presentation to Birmingham Open Source

March 27, 2012
By
R Fell on Alabama–Presentation to Birmingham Open Source

Birmingham Open Source Software (BOSS) was kind enough to invite me to do a debut presentation on R.  I had a lot of fun.  Below is the embedded Youtube.  Please let me know how I can improve.  I really appreciate helpful feedback.

Read more »

Twitter Germany will be based in Berlin – Taking a look at the numbers

March 27, 2012
By
Twitter Germany will be based in Berlin – Taking a look at the numbers

What I really love about Twitter is that everything they do seems to be data-based. They’re so data-driven, they even analyze the ingredients of their lunch to ensure everyone at the company is living a healthy lifestyle. So, the decision for Berlin as their German headquarter cannot be a random or value-based decision.

Read more »

Social Network Analysis with R

March 27, 2012
By
Social Network Analysis with R

By Yanchang Zhao, RDataMining.com If you have tried social network analysis or graph mining with R, you might have already come across package igraph before. The package is designed for graphs and network analysis in R. It can handle large … Continue reading →

Read more »

Installing and Running JAGS on Mac OS 10.5.8

March 26, 2012
By
Installing and Running JAGS on Mac OS 10.5.8

JAGS is an alternative to BUGS (WinBUGS or OpenBUGS) for conducting a Bayesian Analysis. It stands for Just Another Gibbs Sampler, and like WinBUGS, it is essentially an MCMC machine that employs a Gibbs sampler so you don’t have to … Continue reading →

Read more »

Installing and Running JAGS on Mac OS 10.5.8

March 26, 2012
By
Installing and Running JAGS on Mac OS 10.5.8

JAGS is an alternative to BUGS (WinBUGS or OpenBUGS) for conducting a Bayesian Analysis. It stands for Just Another Gibbs Sampler, and like WinBUGS, it is essentially an MCMC machine that employs a Gibbs sampler so you don't have to write your own for ...

Read more »

help resources for r: the r-help mailing list, ucla academic technology services, and r-bloggers

March 26, 2012
By

(This article was first published on twotorials by anthony damico, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: twotorials by anthony damico. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL,...

Read more »

how to use coercion and convert numbers to characters to logicals in r

March 26, 2012
By

(This article was first published on twotorials by anthony damico, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: twotorials by anthony damico. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL,...

Read more »

VIDEO: Applying "SNV" math-treatment to our raw spectra in "R".

March 26, 2012
By
VIDEO: Applying "SNV" math-treatment to our raw spectra in "R".

(This article was first published on NIR-Quimiometría, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: NIR-Quimiometría. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics...

Read more »

Google summer of code 2012 – and R – a call for students

March 26, 2012
By
Google summer of code 2012 – and R – a call for students

Google has again accepted R as a mentoring organization for Google Summer of Code. R has successfully participated in GSoC in multiple previous years, and is excited to be returning this year as a mentoring organization. In a nutshell:  If you are a student looking to write some code for the R community, Google is willing to pay you...

Read more »

Julia functions for the Rmath library

March 26, 2012
By

1.1 Signatures of the d-p-q-r functions in libRmath Users of R are familiar with the functions for evaluating properties of and for sampling from probability distributions, the so-called d-p-q-r functions. The designation d-p-q-r reflects the fact t...

Read more »

How to customize ggplot2 graphics

March 26, 2012
By
How to customize ggplot2 graphics

I consider ggplot2 to be nothing short of a revolution in R graphics. I simply haven't found anything like this package for quickly and elegantly producing usable graphics.  I covered the quick and dirty basics of ggplot2 in a previous post. Now I...

Read more »

How to Extract Citation from a Body of Text

March 26, 2012
By
How to Extract Citation from a Body of Text

Say, you have a text and you want to retrieve the cited names and years of publication. You wouldn't want to this by hand, wouldn't you?Try the following approach:(the text sample comes from THIS freely available publication)library(stringr)(txt <- ...

Read more »