Yeikoff
Re:Complexity Theory, Game Theory, and Economics
on Thursday January 04, 2018 @04:06AM (#16068920)
Lets do then.
Player 1 randomizes (1/3, 1/3, 1/3). Player 2 randomizes (1, 0, 0). Does player 1 want to deviate? Yes! Randomizing is not the best strategy if player 2 is going to be playing the same pure strategy all the time, player 1 would be better off if she were to play the best response to whatever (1, 0, 0) is. -> Not an equilibrium.
Re:Introduction to R Programming
on Thursday December 07, 2017 @10:55AM (#15871111)
Just use the '<-' all the time, except in function calls.
If you can use '<-' with an easy key press you will not be tempted to use '='. And the problem is greatly reduced.
But yes, the problem is still there.
Re:Introduction to R Programming
on Thursday December 07, 2017 @06:28AM (#15869188)
You are absolutely right, but then either you first post was missworded or I missunderstood the issue (most likely the latter), as there is a way to know the directory of the script.
100% agree with R is not a sane language.
Re:Introduction to R Programming
on Thursday December 07, 2017 @06:23AM (#15869162)
I do not really disagree with you, except for the '<-' bit, just map it to a keyboard shortcut, and move on :).
But I would give R a try with the tidyverse, it made me go from hating R to just not caring about it.
While libraries are extremely inconsistent, if you want to use cutting edge statistical methdos as a researcher, you pretty much have no other option. Finally, data wrangling is quite well developed in the R evironment.
So long story short, after many years of hating R, now I just find it a handy tool to do my work despite it being old, inconsistent and sometimes annoying.
Re:Introduction to R Programming
on Thursday December 07, 2017 @06:13AM (#15869121)
rstudioapi::getActiveDocumentContext()$path
I believe thats is what you are looking for.