After my post on making dotplots with concise code using plyr and ggplot, I got an email from my dad who practices immigration law and runs a website with a variety of immigration resources and tools. He pointed out that the … Continue reading →
How to set the default seed for the RNG behind the
sample() and other command? Well, there are several ways doing that (like setting
.Random.seed directly), but as the documentation states,
set.seed() is the recommended way to specify seeds.
> sample(1:10, 10)
9 3 10 5 ...
I'm playing around with some personal data collection, and using some cloud computing to visualize it. Following the directions in this blog post, I've written an R function which visualizes data it draws from a Google Docs spreadsheet, and uploaded it...
Interactive Brokers is a discount brokerage that provides a good API for programatically accessing their platform. The purpose of this post is to create an application that will capture tick level data and save that data into a database for futur...
I've used both R and Stata for a long time, but these days I use Stata much more frequently than R. While R is useful for some kinds of graphics (especially three-dimensional graphics) and some statistical procedures (for example, finite mixture models...
> library(chemometrics)> fatmsc_nipals<-nipals(fat_msc,a=10,it=160)> CPs<-seq(1,10,by=1)> matplot(CPs,t(fatmsc_nipals$T),lty=1,pch=21, + xlab="PC_number",ylab="Explained_Var")In the 2D plot, we can see that with 3 or 4 principal...
The german DIN33430 defines quality standards that must be met in “job-related proficiency assessments”, the qualifications of the responsible parties involved, as well as the creation, execution and evaluation of such assessments. Licensed persons are published on a website (german). … Weiterlesen →
Hadley Wickham has just released an update to the ggplot2 graphics package for R. Version 0.9.0 significantly speeds up the process of rendering graphics, and the documentation is much improved (including the addition of many new examples). This update also adds a bunch of new features, which are documented in this 40-page "changes and additions" guide. Here's a sampling...