« first day (2443 days earlier)      last day (732 days later) » 

3:33 AM
@SymbolixAU - that would almost certainly be due (in part) to the context of use for the two programs. SAS is entrenched in govt. everywhere, while academics have a lot more opportunity to use whatever software they want.
 
 
4 hours later…
7:21 AM
Ah, the bane of piping.
0
Q: Getting the tidyr::nest() -> purrr:map() workflow to work for special case of no grouping var

Nicholas RootI'm trying to write a function that does a split-apply-combine for which the split variable(s) are parameters, and - importantly - a null split is acceptable. For example, running statistics either on subsets of data or on the entire dataset. somedata=expand.grid(a=1:3,b=1:3) somefun=function(d...

 
 
6 hours later…
12:57 PM
rstudio tag, rstudio in name, rep=1, guess the question quality everyone....
0
Q: Creating simple loops

RstudioStruggletownI'm trying to create a basic loop but I am struggling to find information online. All I want to do is use a loop rather than subsetting my data and repeating the same commands for each. for example: I have a dataset ("animals") which is looking at different "animal.type" (dogs, horses, cats, mi...

 
1:08 PM
@Spacedman :shriek: Edited out.
 
 
2 hours later…
3:10 PM
 
 
4 hours later…
6:58 PM
New bars being set in the "images/screenshots in questions" genre:
0
Q: How to efficiently produce a desired matrix in R?

rnorouzianI was trying to produce the following 7 x 4 matrix in R: m = matrix(c(seq(25, 1, by = -4), seq(26, 2, by = -4), seq(27, 3, by = -4), seq(28, 4, by = -4)), nrow = 7, ncol = 4) BUT, I'm wondering could I achieve the same matrix with more efficient R code...

 
7:17 PM
@joran I see Al Gore is now into data science. (See accepted answer.)
 
7:39 PM
Update demagrittr with `lazy` and `promise` mode. Easy to debug, read, and understand the nested pipe code.… https://twitter.com/i/web/status/879337029108027392
 
8:16 PM
@Andrie He invented the internet, probably invented data science too. ;)
 

« first day (2443 days earlier)      last day (732 days later) »