R codes and their outputs used for: Evolution of realised niche breadth diversity driven by community dynamics
Data files
Jan 09, 2024 version files 197.37 MB
-
00_Read.Me.txt
8.21 KB
-
01.01_NNN.analysis.R
2.91 KB
-
01.01_NNN.result.txt
168 KB
-
01.01_NNN.simulation.R
23.13 KB
-
02.01_YNN.analyses.R
21.44 KB
-
02.01_YNN.result.txt
2.28 MB
-
02.01_YNN.simulation.R
23.18 KB
-
02.02_YNN.analyses.R
11.53 KB
-
02.02_YNN.simulation.R
50.13 KB
-
02.02.01_YNN.result.txt
2.17 MB
-
02.02.02_YNN.result.txt
2.17 MB
-
02.02.03_YNN.result.txt
2.17 MB
-
02.03_YNN.simulation.R
50.26 KB
-
02.03.01_YNN.result.txt
2.28 MB
-
02.03.02_YNN.result.txt
2.28 MB
-
02.03.03_YNN.result.txt
2.18 MB
-
03.01_NYN.analyses.R
6.13 KB
-
03.01_NYN.result.txt
3.09 MB
-
03.01_NYN.simulation.R
22.14 KB
-
04.01_NNY.analyses.R
29.39 KB
-
04.01_NNY.simulation.R
36.25 KB
-
04.01.01_NNY.result.txt
4.70 MB
-
04.01.02_NNY.result.txt
4.71 MB
-
04.02_NNY.analyses.R
1.25 KB
-
04.02_NNY.result.txt
17.78 KB
-
04.02_NNY.simulation.R
22.45 KB
-
04.02.001_stats1
71.31 KB
-
04.02.001_stats2
25.97 KB
-
04.02.002_stats1
36.88 KB
-
04.02.002_stats2
13.58 KB
-
04.02.003_stats1
57.06 KB
-
04.02.003_stats2
14.53 KB
-
04.02.004_stats1
343.67 KB
-
04.02.004_stats2
82.58 KB
-
04.02.005_stats1
31.08 KB
-
04.02.005_stats2
10.86 KB
-
04.02.006_stats1
121.20 KB
-
04.02.006_stats2
27.89 KB
-
04.02.007_stats1
149.91 KB
-
04.02.007_stats2
105.77 KB
-
04.02.008_stats1
39.62 KB
-
04.02.008_stats2
15.41 KB
-
04.02.009_stats1
277.76 KB
-
04.02.009_stats2
84.44 KB
-
04.02.010_stats1
19.63 KB
-
04.02.010_stats2
8.98 KB
-
04.02.011_stats1
62.18 KB
-
04.02.011_stats2
25.23 KB
-
04.02.012_stats1
34.42 KB
-
04.02.012_stats2
16.21 KB
-
04.02.013_stats1
63.50 KB
-
04.02.013_stats2
26.69 KB
-
04.02.014_stats1
192.22 KB
-
04.02.014_stats2
72.49 KB
-
04.02.015_stats1
48.91 KB
-
04.02.015_stats2
24.78 KB
-
04.02.016_stats1
33 KB
-
04.02.016_stats2
13.46 KB
-
04.02.017_stats1
36.05 KB
-
04.02.017_stats2
15.02 KB
-
04.02.018_stats1
61.32 KB
-
04.02.018_stats2
17.92 KB
-
04.02.019_stats1
103.84 KB
-
04.02.019_stats2
38.94 KB
-
04.02.020_stats1
36.96 KB
-
04.02.020_stats2
16.24 KB
-
04.02.021_stats1
235.27 KB
-
04.02.021_stats2
84.79 KB
-
04.02.022_stats1
17.20 KB
-
04.02.022_stats2
7.50 KB
-
04.02.023_stats1
172.55 KB
-
04.02.023_stats2
53.37 KB
-
04.02.024_stats1
38.22 KB
-
04.02.024_stats2
16.88 KB
-
04.02.025_stats1
172.44 KB
-
04.02.025_stats2
199.64 KB
-
04.02.026_stats1
50.38 KB
-
04.02.026_stats2
21.64 KB
-
04.02.027_stats1
71.05 KB
-
04.02.027_stats2
32.13 KB
-
04.02.028_stats1
48.48 KB
-
04.02.028_stats2
21.89 KB
-
04.02.029_stats1
80.55 KB
-
04.02.029_stats2
28.94 KB
-
04.02.030_stats1
84.14 KB
-
04.02.030_stats2
36.31 KB
-
04.02.031_stats1
42.34 KB
-
04.02.031_stats2
10.01 KB
-
04.02.032_stats1
21.36 KB
-
04.02.032_stats2
7.91 KB
-
04.02.033_stats1
98.12 KB
-
04.02.033_stats2
24.31 KB
-
04.02.034_stats1
43.47 KB
-
04.02.034_stats2
19.12 KB
-
04.02.035_stats1
63.30 KB
-
04.02.035_stats2
19.01 KB
-
04.02.036_stats1
349.95 KB
-
04.02.036_stats2
87.36 KB
-
04.02.037_stats1
31.48 KB
-
04.02.037_stats2
15.82 KB
-
04.02.038_stats1
91.31 KB
-
04.02.038_stats2
33.28 KB
-
04.02.039_stats1
48.17 KB
-
04.02.039_stats2
21.21 KB
-
04.02.040_stats1
112.47 KB
-
04.02.040_stats2
47.28 KB
-
04.02.041_stats1
27.25 KB
-
04.02.041_stats2
11.26 KB
-
04.02.042_stats1
69.13 KB
-
04.02.042_stats2
23.58 KB
-
04.02.043_stats1
90.19 KB
-
04.02.043_stats2
40.12 KB
-
04.02.044_stats1
25.28 KB
-
04.02.044_stats2
10.73 KB
-
04.02.045_stats1
246.82 KB
-
04.02.045_stats2
29.99 KB
-
04.02.046_stats1
38.86 KB
-
04.02.046_stats2
17.58 KB
-
04.02.047_stats1
65.74 KB
-
04.02.047_stats2
20.94 KB
-
04.02.048_stats1
26.88 KB
-
04.02.048_stats2
10.44 KB
-
04.02.049_stats1
55.35 KB
-
04.02.049_stats2
26.39 KB
-
04.02.050_stats1
34.10 KB
-
04.02.050_stats2
10.10 KB
-
04.02.051_stats1
47.46 KB
-
04.02.051_stats2
20.87 KB
-
04.02.052_stats1
59.42 KB
-
04.02.052_stats2
27.43 KB
-
04.02.053_stats1
89.34 KB
-
04.02.053_stats2
34.75 KB
-
04.02.054_stats1
62.73 KB
-
04.02.054_stats2
17.10 KB
-
04.02.055_stats1
217.96 KB
-
04.02.055_stats2
42.47 KB
-
04.02.056_stats1
49.14 KB
-
04.02.056_stats2
23.32 KB
-
04.02.057_stats1
78.18 KB
-
04.02.057_stats2
34.45 KB
-
04.02.058_stats1
36.43 KB
-
04.02.058_stats2
15.84 KB
-
04.02.059_stats1
62.10 KB
-
04.02.059_stats2
30.30 KB
-
04.02.060_stats1
61.90 KB
-
04.02.060_stats2
23.50 KB
-
04.02.061_stats1
23.89 KB
-
04.02.061_stats2
11 KB
-
04.02.062_stats1
137.88 KB
-
04.02.062_stats2
47.18 KB
-
04.02.063_stats1
413.66 KB
-
04.02.063_stats2
62.92 KB
-
04.02.064_stats1
33.14 KB
-
04.02.064_stats2
10.10 KB
-
04.02.065_stats1
65.74 KB
-
04.02.065_stats2
27.27 KB
-
04.02.066_stats1
51.43 KB
-
04.02.066_stats2
13.50 KB
-
04.02.067_stats1
16.92 KB
-
04.02.067_stats2
7.23 KB
-
04.02.068_stats1
261.13 KB
-
04.02.068_stats2
78.57 KB
-
04.02.069_stats1
78.80 KB
-
04.02.069_stats2
18.41 KB
-
04.02.070_stats1
236.94 KB
-
04.02.070_stats2
181.43 KB
-
04.02.071_stats1
31.93 KB
-
04.02.071_stats2
14.63 KB
-
04.02.072_stats1
98.62 KB
-
04.02.072_stats2
24.26 KB
-
04.02.073_stats1
38.67 KB
-
04.02.073_stats2
14.34 KB
-
04.02.074_stats1
27.41 KB
-
04.02.074_stats2
10.97 KB
-
04.02.075_stats1
128.77 KB
-
04.02.075_stats2
63.04 KB
-
04.02.076_stats1
61.42 KB
-
04.02.076_stats2
18.88 KB
-
04.02.077_stats1
27.25 KB
-
04.02.077_stats2
12.60 KB
-
04.02.078_stats1
34.99 KB
-
04.02.078_stats2
14.95 KB
-
04.02.079_stats1
41.01 KB
-
04.02.079_stats2
17.10 KB
-
04.02.080_stats1
85.82 KB
-
04.02.080_stats2
18.81 KB
-
04.02.081_stats1
75.10 KB
-
04.02.081_stats2
19 KB
-
04.02.082_stats1
43.06 KB
-
04.02.082_stats2
18.69 KB
-
04.02.083_stats1
59.78 KB
-
04.02.083_stats2
19.09 KB
-
04.02.084_stats1
106.26 KB
-
04.02.084_stats2
46.81 KB
-
04.02.085_stats1
70.09 KB
-
04.02.085_stats2
23.85 KB
-
04.02.086_stats1
567.45 KB
-
04.02.086_stats2
147.64 KB
-
04.02.087_stats1
396.60 KB
-
04.02.087_stats2
98.17 KB
-
04.02.088_stats1
58.50 KB
-
04.02.088_stats2
22.88 KB
-
04.02.089_stats1
45.86 KB
-
04.02.089_stats2
18.43 KB
-
04.02.090_stats1
60.62 KB
-
04.02.090_stats2
14.76 KB
-
04.02.091_stats1
85.68 KB
-
04.02.091_stats2
31.55 KB
-
04.02.092_stats1
33.19 KB
-
04.02.092_stats2
9.82 KB
-
04.02.093_stats1
31.12 KB
-
04.02.093_stats2
11.73 KB
-
04.02.094_stats1
122.52 KB
-
04.02.094_stats2
48.26 KB
-
04.02.095_stats1
43.06 KB
-
04.02.095_stats2
14.29 KB
-
04.02.096_stats1
55.48 KB
-
04.02.096_stats2
22.82 KB
-
04.02.097_stats1
29.67 KB
-
04.02.097_stats2
12.71 KB
-
04.02.098_stats1
51.62 KB
-
04.02.098_stats2
23.70 KB
-
04.02.099_stats1
168.97 KB
-
04.02.099_stats2
70.58 KB
-
04.02.100_stats1
43.07 KB
-
04.02.100_stats2
16.78 KB
-
05.01_YYN.analyses.R
16.07 KB
-
05.01_YYN.simulation.R
50.08 KB
-
05.01.01_YYN.result.txt
3.01 MB
-
05.01.02_YYN.result.txt
3.05 MB
-
05.01.03_YYN.result.txt
3.07 MB
-
05.02_YYN.analyses.R
16.22 KB
-
05.02_YYN.simulation.R
49.31 KB
-
05.02.01_YYN.result.txt
2.70 MB
-
05.02.02_YYN.result.txt
2.74 MB
-
05.02.03_YYN.result.txt
2.76 MB
-
05.03_YYN.analyses.R
15.19 KB
-
05.03_YYN.result.txt
13.94 MB
-
05.03_YYN.simulation.R
23.48 KB
-
05.04_YYN.analyses.R
6.35 KB
-
05.04_YYN.result.txt
15.75 MB
-
05.04_YYN.simulation.R
23.33 KB
-
05.05_YYN.analyses.R
2.25 KB
-
05.05_YYN.result.txt
304.35 KB
-
05.05_YYN.simulation.R
22.75 KB
-
05.06.01_stats1.txt
35.58 KB
-
05.06.01_stats2.txt
35.89 KB
-
05.06.01_YYN.simulation.R
20.55 KB
-
05.06.02_stats1.txt
35.78 KB
-
05.06.02_stats2.txt
55.60 KB
-
05.06.02_YYN.simulation.R
20.55 KB
-
05.06.03_stats1.txt
53 KB
-
05.06.03_stats2.txt
37.14 KB
-
05.06.03_YYN.simulation.R
20.55 KB
-
05.06.04_stats1.txt
53.69 KB
-
05.06.04_stats2.txt
54.32 KB
-
05.06.04_YYN.simulation.R
20.55 KB
-
05.06.05_stats1.txt
1.86 KB
-
05.06.05_stats2.txt
5.71 KB
-
05.06.05_YYN.simulation.R
20.58 KB
-
06.01_YNY.analyses.R
6.09 KB
-
06.01_YNY.result.txt
15.72 MB
-
06.01_YNY.simulation.R
23.44 KB
-
06.02_YNY.analyses.R
22.75 KB
-
06.02_YNY.simulation.R
35.88 KB
-
06.02.01_YNY.result.txt
4.38 MB
-
06.02.02_YNY.result.txt
4.25 MB
-
07.01_NYY.analyses.R
6.22 KB
-
07.01_NYY.result.txt
12.68 MB
-
07.01_NYY.simulation.R
23.27 KB
-
08.01_YYY.analyses.R
7.21 KB
-
08.01_YYY.result.txt
32.78 MB
-
08.01_YYY.simulation.R
23.49 KB
-
08.02_YYY.analyses.R
12.67 KB
-
08.02_YYY.result.txt
30.38 MB
-
08.02_YYY.simulation.R
23.56 KB
-
08.03_YYY.analyses.R
13.97 KB
-
08.03_YYY.simulation.R
36.62 KB
-
08.03.01_YYY.result.txt
4.81 MB
-
08.03.02_YYY.result.txt
2.40 MB
-
08.04.01_stats1.txt
57.96 KB
-
08.04.01_stats2.txt
14.72 KB
-
08.04.01_YYY.simulation.R
20.74 KB
-
08.04.02_stats1.txt
58.37 KB
-
08.04.02_stats2.txt
39.73 KB
-
08.04.02_YYY.simulation.R
20.72 KB
-
08.04.03_stats1.txt
54.83 KB
-
08.04.03_stats2.txt
40.48 KB
-
08.04.03_YYY.simulation.R
20.72 KB
-
08.04.04_stats1.txt
53.09 KB
-
08.04.04_stats2.txt
53.32 KB
-
08.04.04_YYY.simulation.R
20.73 KB
-
08.04.05_stats1.txt
14.41 KB
-
08.04.05_stats2.txt
54.34 KB
-
08.04.05_YYY.simulation.R
20.72 KB
-
08.04.06_stats1.txt
35.05 KB
-
08.04.06_stats2.txt
55.56 KB
-
08.04.06_YYY.simulation.R
20.69 KB
-
08.04.07_stats1.txt
52.63 KB
-
08.04.07_stats2.txt
35.62 KB
-
08.04.07_YYY.simulation.R
20.69 KB
-
README.md
532 B
Abstract
Why many herbivorous insects are host-plant specialists, with non-negligible exceptions, is a conundrum of evolutionary biology, especially because the host plants are not necessarily optimal larval diets. Here, I present a novel model of host-plant preference evolution of two insect species. Because habitat preference evolution is contingent upon demographic dynamics, I integrate the evolutionary framework with the modern coexistence theory. The results show that the two insect species can evolve into a habitat specialist and generalist when they experience both negative and positive frequency-dependent community dynamics. This happens because the joint action of positive and negative frequency dependence creates multiple (up to nine) eco-evolutionary equilibria. Furthermore, initial condition dependence due to positive frequency dependence allows specialization to poor habitats. Thus, evolved habitat preferences do not necessarily correlate with the performances. The model provides explanations for counterintuitive empirical patterns and mechanistic interpretations for phenomenological models of niche breadth evolution.
https://doi.org/10.5061/dryad.8sf7m0cvw
The R simulation codes, output files, and R visualisation codes underlying the paper.
Description of the data and file structure
R code (.R) and output files (.txt and R objects, which should be both loaded as data.frame).
See the 00_Read.Me.txt file for more details.
Sharing/Access information
NA
Code/Software
Simularions were run using R software version 4.3.1 for Windows.
Individual based (i.e., stochastic) model of eco-evolutionary dynamics. The simulations were run on a 32-cored Win machine. Memory capacity of 32 GB will be sufficient.
- Kyogoku, Daisuke (2024). Evolution of realized niche breadth diversity driven by community dynamics. Ecology Letters. https://doi.org/10.1111/ele.14369
