Plotting in R

Stängt Publicerat 1 år sedan Betalades vid leverans
Stängt Betalades vid leverans

Write a script in R to generate the patterns of Figure 3 in the following paper: Nowak, MA, & May, RM (1992). Evolutionary games and spatial chaos. Nature , 359 : 826-829 (6398). Requirements: 1. The R plot should "evolve" with each generation / loop / step; 2. There should be a variable named "generation". By changing the value of this variable, the last R plot object produced by your script should correspond to the pattern after the n th step / generation; 3. Comment your script to enhance readability; 4. I attached some "hint" here, FYI. There I created a function named "neighbors", which will return all the neighbors of the [i,j] element of a matrix. Creating your own functions can be very useful sometimes.

7:26 PM

# The evolution of strategies in the prisoner's dilemma in Nowak & May (1992) # Citation: Nowak, Martin & May, Robert. (1992). Evolutionary Games and Spatial Chaos. Nature. 359. 826-829. 10.1038/359826a0. # Strategies: C=0; D=1 # payoffs: CC=1; DC=b (b>1); CD=0; DD=0 # Rules: In each round, every player plays with its 9 immediate neighbours (including self). Player with the highest sum of payoffs occupies that cell. # Color: C->C blue; C->D yellow; D->C green; D->D red library([login to view URL]) #define variables and matrices here neighbors

R-programmeringsspråk Algoritm

Projekt-id: #35436825

About the project

12 offerter Distansprojekt Aktivt 1 år sedan

12 frilansare har lagt bud på i genomsnitt €143 för det här jobbet

liveexperts123

Hi there, I have read your project description and i'm confident i can do this project for you perfectly.I still have a few questions. please leave a message on my chat so we can discuss the budget and deadline of the Mer

€250 EUR inom 4 dagar
(20 omdömen)
6.8
umg536

Hi there, I'm bidding on your project "Plotting in R" I am expert in assignment and powerpoints, and can get it done for you efficiently. please leave a message on my chat so we can discuss the budget and deadline of Mer

€250 EUR inom 5 dagar
(7 omdömen)
5.6
Statxn

Hey, I'm interested in your project about Plotting in R Please send me a message so that we can discuss more. -------------------------

€50 EUR inom 5 dagar
(79 omdömen)
5.7
doctorkendrick20

Hi, Statistics is my favorite subject and will be glad to help. I have skills in Data Processing, Statistics, R Programming Language Statistical Analysis

€150 EUR inom 6 dagar
(30 omdömen)
5.4
lethanhphong2605

hi. I am excellent mathematician and Programmer. I have many experiences in programming using c++/c/c#, R, Java, python, matlab.... Please send me a message so that we can discuss more. thanks and regards.

€100 EUR inom 2 dagar
(8 omdömen)
3.9
anthobio23

hi, i'm data scientist and programmer in R. i have +5 year in the area statistic with R. i can help you with this project, write me and talk me about the details

€140 EUR inom 7 dagar
(13 omdömen)
3.8
USAMA1834

I create polished graphs, plots, and charts using the statistical programming language R. Use my figures in your publication, conference poster, website, presentation, book, thesis, or report. Graph details Full color Mer

€150 EUR inom 2 dagar
(4 omdömen)
2.9
vd58xd24

⚛️ Expert for Plotting in R, Algorithm, Matplotlib, Python, able to start right now ⚛️ Hello, I am senior developer with enough experiences on Plotting in R, Algorithm, Matplotlib, Python For 7+ years. so I have confi Mer

€50 EUR inom 1 dag
(2 omdömen)
2.6
skk89

I have full command and experience in such research work. I can do it and I will do it within no time.

€90 EUR inom 5 dagar
(0 omdömen)
0.0