This challenge is related to the R language. Note that challenges that require the answers to be in a specific language are generally discouraged.

learn more… | top users | synonyms

0
votes
0answers
38 views

find logFC“,”logCPM“,”PValue“ and ”FDR" [closed]

I have 2 files each for one disease. one has 514 replicates and the other one has 164 replicates. the columns represent the expression values for the genes in the first column. i.e, the first column ...
0
votes
1answer
414 views

Plot gif of 3 dimensional heart in R [closed]

inspired by this blog: http://alstatr.blogspot.co.uk/2014/02/r-animating-2d-and-3d-plots.html I made a 2D gif of a heart with: library(animation) saveGIF({ for(i in 1:150){ dat<- ...
4
votes
2answers
244 views

Total number of cells in R numeric dataframe

Problem statement The task is to write the shortest R statement to count the cells (rows * cols) in an instance of the R type numeric data.frame. For example, the data.frame which would be displayed ...
20
votes
3answers
517 views

Tips for golfing in R?

I'm looking for tips for golfing in the R statistical language. R is perhaps an unconventional choice for Golf. However, it does certain things very compactly (sequences, randomness, vectors, and ...
7
votes
4answers
806 views

What's the ugliest line of R code that still parses?

The goal is to produce a single line of R code that: Does as little as possible In as many characters as possible (max of 100 characters) And is as ugly as possible (where "ugly" can be taken to ...