firstinstinct
Re:An opinionated view of the Tidyverse “dialect” of the R language
on Friday July 05, 2019 @12:41PM (#20363863)
at the end of the comments of the post http://varianceexplained.org/r/teach-tidyverse/
compare base R:
var1 <- "pounds"
var2 <- "wt"
mtcars[[var1]] <- mtcars[[var2]]/1000
Now hadley solution comment: You can now express that sort of thing fairly elegantly with dplyr: var1 <- sym("pounds")
var2 <- sym("wt")
mtcars <- mutate(mtcars,!!var1 := !!var/100)
Watch your steps: !!, :=, sym.
Thats a lot of added complexity to be able to use column names, and to top it all, the use of non standard evaluation make things very complex when one go a little away from basic EDA.
Re:An opinionated view of the Tidyverse “dialect” of the R language
on Friday July 05, 2019 @12:07PM (#20363583)
What I see clearly is that is not a good option to begin with R inferno, except when you are a fighter prepared to learn at any cost.
Re:An opinionated view of the Tidyverse “dialect” of the R language
on Friday July 05, 2019 @12:00PM (#20363518)
A related post is http://varianceexplained.org/r/teach-tidyverse/
Re:The Squirrel Census Answers a Question You Weren’t Asking
on Wednesday July 03, 2019 @03:37AM (#20342383)
Put a lot of false food for the squirrels and estimate the squirrel population by how much false food they try to eat.
False food: It looks like fruit but taste very bad, it is suppose only one bite for each animal.
Re:Mathematician Disproves Hedetniemi’s Graph Theory Conjecture
on Monday June 17, 2019 @01:49PM (#20205547)
I cannot remember. I emailed him about some results, he said they were interesting, but later I discovered those results were already published. I told him : I will throw them to trash. Very impolite from my part!, that must be 20 years ago.
Re:Mathematician Disproves Hedetniemi’s Graph Theory Conjecture
on Monday June 17, 2019 @12:13PM (#20204455)
Long time ago I failed to solve this conjecture. Nice to see it have been solved. I shared some email with S. Hetdetniemi about some special cases. Good old times.
Re:U.S. blacklists Huawei
on Thursday May 16, 2019 @02:50AM (#19926747)
Perhaps the reason is they think they will be left behind?
Re:The Problem of Thinking Too Much (2003) [pdf]
on Tuesday May 14, 2019 @03:42PM (#19913150)
Related: Our first instinct is far too often wrong (finantial times, 10 May 2019, Tim harford, pay walled article).
Another related article: Heads or Tails: The Impact of a Coin Toss on Major Life Decisions and Subsequent Happiness Steven D. Levitt https://www.nber.org/papers/w22487