Blog Archives

Python & R vs. SPSS & SAS

March 18, 2017
By
Python & R vs. SPSS & SAS

When we’re working for clients we mostly come across the statistical programming languages SAS, SPSS, R and Python. Of these SAS and SPSS are probably the most used. However, the interest for the open source languages R and Python is increasing. In recent years, some of our clients migrated from using SAS or SPSS to

Read more »

Fireworks (in R)

December 30, 2016
By
Fireworks (in R)

New Year – a new chapter, new verse, or just the same old story ? Ultimately we write it. The choice is ours. ― Alex Morritt The Analytics Lab and Cmotions wish everybody a happy year. A year full of challenges, new experiences and new knowledge. Github library(ggplot2) rm(list = ls()) # First rocket t1

Read more »

Christmas Tree with ggplot

December 25, 2016
By
Christmas Tree with ggplot

# create data x <- c(8,7,6,7,6,5,6,5,4,5,4,3,4,3,2,3,2,1,0.5,0.1) dat1 <- data.frame(x1 = 1:length(x), x2 = x) dat2 <- data.frame(x1 = 1:length(x), x2 = -x) dat1$xvar <- dat2$xvar <- NA dat1$yvar <- dat2$yvar <- NA dat1$siz <- dat2$siz <- NA dat1$col <- dat2$col dec_threshold){ dat1$xvar <- row #sample(1:dat1$x1,1) dat1$yvar <- sample(1:dat1$x2-1,1) dat1$siz <- runif(1,0.5,1.5) dat1$col dec_threshold){ dat2$xvar <-

Read more »

Sponsors

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)