« first day (1343 days earlier)      last day (2759 days later) » 

 
2 hours later…
4:08 AM
0
Q: Create multiple lattice plots from a data table using lapply in R

nicfitI am trying to generate mean values by group for each of numerous variables (species) and then plot each of these separately. I have tried list and data table formats. The base plot function works in a for loop: library(data.table) for (i in 3:5) { # generate a list of mean value fo...

5
Q: Behavior ggplot2 aes() in combination with facet_grid() when passing variable with dollar sign notation to aes()

ChristophI am doing some analysis in ggplot2 at the moment for a project and by chance I stumbled across some (for me) weird behavior that I cannot explain. When I write aes(x = cyl, ...) the plot looks different to what it does if I pass the same variable using aes(x = mtcars$cyl, ...). When I remove fac...

10
Q: What is the rationale for as.logical double coercion?

npjcI'm trying to understand the coercion rationale for doubles: as.logical(c(-1, -0.01, 0, 0.01, 0.1,1:10)) #> [1] TRUE TRUE FALSE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE #> [12] TRUE TRUE TRUE TRUE I can see that coercion happens on a scalar (sign doesn't matter) and that only exa...

7
Q: How to get a list of built-in data sets in R?

YashCan someone please help how to get the list of built-in data sets and their dependency packages?

9
Q: What does "The following object is masked from 'package:xxx' mean?

Richie CottonWhen I load a package, I get a message stating that "The following object is masked from 'package:xxx' For example, if I load testthat then assertive, I get the following library(testthat) library(assertive) ## Attaching package: ‘assertive’ ## ## The following objects are masked from ‘pa...

 
5 messages moved from R Public
 
 
1 hour later…
5:11 AM
@Queen k
@Queen k
 
7:08 AM
@DevResearch Check this out
 
@Queen k
 
1 message moved from Androidians
 
 
1 hour later…
@Queen k
 
 
1 hour later…
9:41 AM
As far as I understand you, the array function `reduce` might help you. It's actually not designed for this purpose, but I found it very useful to abuse it for deep JSON searches. `var yourJson = {
inputText1: {
inputText2: {
inputText3: "result here"
}
},
foo: "test",
bar: 123
};

var result = ["inputText1", "inputText2", "inputText3"].reduce(function (prev, cur) {
return prev[cur];
}, yourJson);`
 
1 message moved from JavaScript
 
 
1 hour later…
@Queen k
 
11:39 AM
I was invited to "Trash Can"? O_o
 
 
5 hours later…
 
1 hour later…
6:11 PM
Get a load of this highly experienced user stackoverflow.com/questions/39754726/…
 
1 message moved from SO Close Vote Reviewers
 
I was invited?
 

« first day (1343 days earlier)      last day (2759 days later) »