R scripts should run correctly.


Larval competition of pest bean weevils can be crassified into either contest or scramble types. Contest larvae kill opponents and monopolize a bean. Scramble larvae share bean contents with others. Minimum requirement for scramble larvae should be smaller than that of contest larvae so that scramble larvae can escape from lethal battle with contest larvae. Adults of contest and scramlbe species or strains should have evolved so as to coordinate oviposition behavior with the larval competition types. Contest type adults would prefer disperse eggs among beans. If that is true, scramble adults would prefer to heavily clump their eggs on a bean without eggs of contest type.

The following tasks are steps to create an individual-based model (IBM) of competition between contest and scramble types. Make your answers against the following tasks.


Make a R function for making evenly/clumped distributions of eggs among arbitrary number of beans. Make an R script named “oviposit.R” for the function and plotting histograms of egg distributions.


Make a R function for simulating contest/scramble competition within a given size of bean infested by arbitrary number of contest/scramble larvae. Make an R script named “competition.R” for the function and plotting competition curves.


Modify the R function for TASK 2. in which a bean consists of two parts: a periphery and a core. At the periphery only exploitation competition occurs whereas both interference and exploitation competition occurs at the core part. Make an R script named “cpCompetition.R” for the modified function and plotting competition curves for various bean sizes.


Combine TASKs 1 and 3. so as to obtain a procedure for evolutionary simulations of contest/scramble types. Make an R script named “evolution.R” for the simulation and plotting number of contest/scramble types in the course of the evolution.


Explain the results obtained with TASK 4 in a file named “explanation.[txt|doc|docx|odt|pdf].”

Please check whether you have created four R scripts (oviposition.R, competition, cpCompetition.R, and evolution.R) and a documentation file (explanation.[txt|doc|docx|odt|pdf]. Please put all files into a directory (folder) named as 201718044

Skills: R Programming Language

See more: as a software developer you need to create a know system to solve a problem, delphi technique to help the business owner to solve a problem in the business, delphi technique to solve a problem of a business owner, optimization in r tutorial, r problems for practice, r replace values in dataframe column, data.frame() r, r data frame manipulation, [] in r, what is the function in r to get the # of observations in a data frame ?, create dataframe in r with column names, how to solve assignment problem, how to solve assignment problem by hungarian method, steps to solve assignment problem, using algorithms to solve problems, how to solve shipping problem, draw a diagram to solve each problem, steps to develop an algorithm to solve a problem, how to solve financial problem among students, news sentiment analysis using r to predict stock market trends

About the Employer:
( 0 reviews ) tokyo, Japan

Project ID: #20098607

Awarded to:


Dear, I am sure that I can create R script to solve task 1 to task 5 on larval competitions. Anyway,I am lecturer at Department of Chemistry and teach R programming for undergraduate students of chemistry. I have m More

$40 USD in 2 days
(2 Reviews)

2 freelancers are bidding on average $73 for this job


I'm an Engineer in Statistics and Applied Economics, i've got many skills and expertise that will allow me achieving perfectly all the projects and assignments because my priority is your satisfaction I am a master of More

$105 USD in 5 days
(77 Reviews)