<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Ecol. Evol.</journal-id>
<journal-title>Frontiers in Ecology and Evolution</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Ecol. Evol.</abbrev-journal-title>
<issn pub-type="epub">2296-701X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fevo.2023.1077374</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Ecology and Evolution</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Local adaptation, phenotypic plasticity, and species coexistence</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Fontanari</surname> <given-names>Jos&#x000E9; F.</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/559/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Matos</surname> <given-names>Margarida</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/50966/overview"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Santos</surname> <given-names>Mauro</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<xref ref-type="aff" rid="aff4"><sup>4</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>&#x0002A;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/284219/overview"/>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Instituto de F&#x000ED;sica de S&#x000E3;o Carlos, Universidade de S&#x000E3;o Paulo</institution>, <addr-line>S&#x000E3;o Carlos</addr-line>, <country>Brazil</country></aff>
<aff id="aff2"><sup>2</sup><institution>Centre for Ecology, Evolution and Environmental Changes &#x00026; CHANGE&#x02014;Global Change and Sustainability Institute</institution>, <addr-line>Lisboa</addr-line>, <country>Portugal</country></aff>
<aff id="aff3"><sup>3</sup><institution>Departamento de Biologia Animal, Faculdade de Ci&#x000EA;ncias, Universidade de Lisboa</institution>, <addr-line>Lisboa</addr-line>, <country>Portugal</country></aff>
<aff id="aff4"><sup>4</sup><institution>Departament de Gen&#x000E8;tica i de Microbiologia, Grup de Gen&#x000F2;mica, Bioinform&#x000E0;tica i Biologia Evolutiva, Universitat Aut&#x000F2;noma de Barcelona</institution>, <addr-line>Barcelona</addr-line>, <country>Spain</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Donald DeAngelis, United States Geological Survey (USGS), United States Department of the Interior, United States</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Samuel Scheiner, National Science Foundation (NSF), United States; Laurence Mueller, University of California, Irvine, United States</p></fn>
<corresp id="c001">&#x0002A;Correspondence: Mauro Santos <email>mauro.santos&#x00040;uab.es</email></corresp>
</author-notes>
<pub-date pub-type="epub">
<day>15</day>
<month>05</month>
<year>2023</year>
</pub-date>
<pub-date pub-type="collection">
<year>2023</year>
</pub-date>
<volume>11</volume>
<elocation-id>1077374</elocation-id>
<history>
<date date-type="received">
<day>22</day>
<month>10</month>
<year>2022</year>
</date>
<date date-type="accepted">
<day>26</day>
<month>04</month>
<year>2023</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2023 Fontanari, Matos and Santos.</copyright-statement>
<copyright-year>2023</copyright-year>
<copyright-holder>Fontanari, Matos and Santos</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p></license> </permissions>
<abstract>
<p>Understanding the mechanisms of species coexistence has always been a fundamental topic in ecology. Classical theory predicts that interspecific competition may select for traits that stabilize niche differences, although recent work shows that this is not strictly necessary. Here, we ask whether adaptive phenotypic plasticity could allow species coexistence (i.e., some stability at an equilibrium point) without ecological differentiation in habitat use. We used individual-based stochastic simulations defining a landscape composed of spatially uncorrelated or autocorrelated environmental patches, where two species with the same competitive strategies, not able to coexist without some form of phenotypic plasticity, expanded their ranges in the absence of a competition&#x02014;colonization trade-off (a well-studied mechanism for species diversity). Each patch is characterized by a random environmental value that determines the optimal phenotype of its occupants. In such a scenario, only local adaptation and gene flow (migration) may interact to promote genetic variation and coexistence in the metapopulation. Results show that a competitively inferior species with adaptive phenotypic plasticity can coexist in a same patch with a competitively superior, non-plastic species, provided the migration rates and variances of the patches&#x00027; environmental values are sufficiently large.</p></abstract>
<kwd-group>
<kwd>adaptive plasticity</kwd>
<kwd>competitive interactions</kwd>
<kwd>eco-evolutionary dynamics</kwd>
<kwd>gene flow</kwd>
<kwd>spatial correlation</kwd>
</kwd-group>
<counts>
<fig-count count="7"/>
<table-count count="0"/>
<equation-count count="9"/>
<ref-count count="75"/>
<page-count count="14"/>
<word-count count="12084"/>
</counts>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Models in Ecology and Evolution</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<title>1. Introduction</title>
<p>Spatial variation in the direction and strength of natural selection may often lead to eco-evolutionary dynamics. Local selection for the optimum phenotype could be hindered not only by gene flow but also from competitive interactions with other species; interactions which, in turn, could also be affected by the dual processes of gene flow and divergent selection (Hendry, <xref ref-type="bibr" rid="B30">2017</xref>). Furthermore, theoretical models have shown that phenotypic plasticity, the ability of organisms to express different phenotypes depending on environmental conditions (Bradshaw, <xref ref-type="bibr" rid="B9">1965</xref>; Schlichting, <xref ref-type="bibr" rid="B58">1986</xref>), readily evolves when selective conditions are variable, whether in time or space (Hendry, <xref ref-type="bibr" rid="B30">2017</xref>; Pfennig, <xref ref-type="bibr" rid="B49">2021</xref>). In particular, spatial environmental variation where selection favors different phenotypes in each environment facilitates the evolution of adaptive phenotypic plasticity given some movement between environments (Via and Lande, <xref ref-type="bibr" rid="B72">1985</xref>; Gomulkiewicz and Kirkpatrick, <xref ref-type="bibr" rid="B26">1992</xref>; Scheiner, <xref ref-type="bibr" rid="B54">1998</xref>). Since phenotypic plasticity occurs within an ecological context&#x02014;e.g., a normal or helmet morph in water fleas depending on the absence or presence of predators (Agrawal et al., <xref ref-type="bibr" rid="B1">1999</xref>), or quorum sensing in bacteria according to surrounding bacterial cell density (Miller and Bassler, <xref ref-type="bibr" rid="B42">2001</xref>)&#x02014;much current interest focuses on how variation in phenotypic plasticity can affect the dynamics of interacting populations or species (Fischer et al., <xref ref-type="bibr" rid="B18">2014</xref>; Turcotte and Levine, <xref ref-type="bibr" rid="B69">2016</xref>; P&#x000E9;rez-Ramos et al., <xref ref-type="bibr" rid="B48">2019</xref>; Muthukrishnan et al., <xref ref-type="bibr" rid="B44">2020</xref>; Start, <xref ref-type="bibr" rid="B65">2020</xref>; G&#x000F3;mez-Llano et al., <xref ref-type="bibr" rid="B25">2021</xref>).</p>
<p>Classical theory predicts that interspecific competition may select for traits that stabilize niche differences, weakening competitive interactions and therefore promoting species coexistence (Macarthur and Levins, <xref ref-type="bibr" rid="B39">1967</xref>; Slatkin, <xref ref-type="bibr" rid="B62">1980</xref>; Doebeli, <xref ref-type="bibr" rid="B16">1996</xref>). However, recent work shows that ecological niche differentiation is not a requirement for species coexistence, and ecologically equivalent species can coexist when behaviors associated with reproductive interactions and sexual selection affect species demography in a frequency-dependent way (G&#x000F3;mez-Llano et al., <xref ref-type="bibr" rid="B25">2021</xref>). On the other hand, the effect of phenotypic plasticity on species coexistence has been mainly framed within the classic context, in the sense that plasticity for ecologically relevant traits can eventually stabilize niche differentiation (Turcotte and Levine, <xref ref-type="bibr" rid="B69">2016</xref>). Our aim here is to tackle the following question: does phenotypic plasticity affect species coexistence to the point that a competitively inferior plastic species can coexist with a competitively superior non-plastic one in the absence of niche differences? Specifically, we consider the following thought experiment: take an ecological model and contrast the community dynamics with or without intraspecific expressed variation for plasticity. When and why does variation change the dynamics? (Bolnick et al., <xref ref-type="bibr" rid="B8">2011</xref>).</p>
<p>Here, we develop a computational model to investigate the effect of phenotypic plasticity on species&#x00027; coexistence. We assume a density-compensating process which controls the size of the population (i.e., density-dependent population growth), coupled with a density- and frequency-independent viability selection for a local optimum that can be attained by adaptive phenotypic plasticity. We ran individual-based stochastic simulations using a two-dimensional landscape composed of spatially uncorrelated or autocorrelated environmental patches. We assumed two species: a competitively superior non-plastic species 1, that will always displace a second, phenotypically plastic species 2, in a single patch as well as in a two-dimensional landscape, with migration between patches but without environmental heterogeneity, which is temporally constant (i.e., when each patch has the same environmental value at each time step that defines the optimum phenotype). We mainly focus on the scenario where the two species are placed in a single random patch of a spatially heterogeneous and empty landscape, and thereafter are allowed to expand their ranges without being subjected to a competition-colonization trade-off (a well-studied mechanism for species diversity maintenance; Hastings, <xref ref-type="bibr" rid="B29">1980</xref>; Calcagno et al., <xref ref-type="bibr" rid="B10">2006</xref>; Muthukrishnan et al., <xref ref-type="bibr" rid="B44">2020</xref>). Individuals of both species migrate to adjacent patches with the same probability per generation and have the same competitive strategies (i.e., the same absolute intra- and interspecific competition coefficients all over the patches) across the spatially varying landscape, but those patches with the highest average fitness contribute the most individuals (hard selection; Christiansen, <xref ref-type="bibr" rid="B12">1975</xref>). A brief digression: here we refer to fitness in the evolutionary context of population genetics, and not as the average competitive ability as used in the framework of &#x0201C;modern coexistence theory&#x0201D; (Barab&#x000E1;s et al., <xref ref-type="bibr" rid="B6">2018</xref>). Intuition suggests that expressing phenotypic plasticity will enhance local adaptation (Scheiner, <xref ref-type="bibr" rid="B54">1998</xref>, <xref ref-type="bibr" rid="B55">2013</xref>), which could give some fitness advantage to the ecologically inferior plastic species and facilitate coexistence. Quantitative numerical results as well as qualitative analytical arguments support this intuition. In particular, we show that both species coexist in most patches provided the variance of the optimum phenotypes across patches and the migration probability are sufficiently large. This conclusion holds true even when plasticity was to a certain extent costly.</p>
</sec>
<sec id="s2">
<title>2. Model</title>
<p>Here, we describe an eco-evolutionary scenario to investigate the possibility of coexistence between two species when the ecological competition matrix violates the mutual invasibility condition for any given patch.</p>
<sec>
<title>2.1. Spatial setting</title>
<p>We constructed an individual-based model to simulate a metapopulation of two multi-locus, haploid species that occupy discrete patches located on a 2-dimensional grid of linear length <italic>L</italic> and toroidal shape (a doughnut) to avoid edge effects. Each patch on the grid is characterized by an environmental value <inline-formula><mml:math id="M1"><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x02026;</mml:mo><mml:mo>,</mml:mo><mml:msup><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>, which are random variables distributed by the multivariate normal distribution:</p>
<disp-formula id="E1"><label>(1)</label><mml:math id="M2"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>f</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>E</mml:mi><mml:mo>;</mml:mo><mml:mi>&#x003BC;</mml:mi><mml:mo>,</mml:mo><mml:mo>&#x003A3;</mml:mo></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mi>&#x003C0;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>/</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>|</mml:mo><mml:mo>&#x003A3;</mml:mo><mml:msup><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>/</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mfrac><mml:mo class="qopname">exp</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:mfrac><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>E</mml:mi><mml:mo>-</mml:mo><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mo>&#x003A3;</mml:mo></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>E</mml:mi><mml:mo>-</mml:mo><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M3"><mml:msup><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>&#x02026;</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M4"><mml:msup><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>&#x02026;</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> is a vector whose elements are the expected values of the environmental values, i.e., <italic>E</italic>(<italic>E</italic><sub><italic>i</italic></sub>) &#x0003D; &#x003BC;<sub><italic>i</italic></sub>. Here, &#x003A3; is the covariance matrix whose elements are <inline-formula><mml:math id="M5"><mml:msub><mml:mrow><mml:mi>&#x003A3;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msqrt><mml:mrow><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mrow></mml:msqrt><mml:msub><mml:mrow><mml:mi>&#x003C1;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> where <inline-formula><mml:math id="M6"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> is the variance of the environmental value at patch <italic>i</italic> and &#x003C1;<sub><italic>ij</italic></sub> is the correlation between the environmental values at patches <italic>i</italic> and <italic>j</italic>, which we choose to depend on the Euclidian distance <italic>d</italic><sub><italic>ij</italic></sub> between those patches. Explicitly, we set <inline-formula><mml:math id="M7"><mml:msub><mml:mrow><mml:mi>&#x003C1;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mi>&#x003C1;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msup></mml:math></inline-formula> where &#x003C1;&#x02208;[0, 1] is the correlation between the environmental values of patches for which <italic>d</italic><sub><italic>ij</italic></sub> &#x0003D; 1. Of course, <italic>d</italic><sub><italic>ij</italic></sub> &#x0003D; 1 is the smallest distance between any two patches in the grid. We note that the correlation decreases exponentially with the distance between patches, i.e., &#x003C1;<sub><italic>ij</italic></sub> &#x0003D; exp(&#x02212;<italic>d</italic><sub><italic>ij</italic></sub>/&#x003BE;) where &#x003BE; &#x0003D; 1/|ln &#x003C1;| is the correlation length of the environment.</p>
<p>A word is in order about the calculation of the Euclidean distance <italic>d</italic> between two points (<italic>i</italic><sub>1</sub>, <italic>i</italic><sub>2</sub>) and (<italic>j</italic><sub>1</sub>, <italic>j</italic><sub>2</sub>) in a rectangular grid with cyclic boundary conditions (toroid). Let us assume that the open grid is <italic>L</italic><sub>1</sub>&#x000D7;<italic>L</italic><sub>2</sub>, i.e., that there are <italic>L</italic><sub>1</sub> patches in the horizontal direction and <italic>L</italic><sub>2</sub> in the vertical direction (<italic>L</italic><sub>1</sub> &#x0003D; <italic>L</italic><sub>2</sub> &#x0003D; <italic>L</italic> for the grid considered in this paper), so that <italic>i</italic><sub>1</sub>, <italic>j</italic><sub>1</sub> &#x0003D; 1, &#x02026;, <italic>L</italic><sub>1</sub> and <italic>i</italic><sub>2</sub>, <italic>j</italic><sub>2</sub> &#x0003D; 1, &#x02026;, <italic>L</italic><sub>2</sub>. The horizontal and vertical distances between these points are given by the equations <italic>d</italic><sub><italic>h</italic></sub> &#x0003D; min (|<italic>j</italic><sub>1</sub>&#x02212;<italic>i</italic><sub>1</sub>|, <italic>L</italic><sub>1</sub>&#x02212;|<italic>j</italic><sub>1</sub>&#x02212;<italic>i</italic><sub>1</sub>|) and <italic>d</italic><sub><italic>v</italic></sub> &#x0003D; min (|<italic>j</italic><sub>2</sub>&#x02212;<italic>i</italic><sub>2</sub>|, <italic>L</italic><sub>2</sub>&#x02212;|<italic>j</italic><sub>2</sub>&#x02212;<italic>i</italic><sub>2</sub>|), from where we can readily calculate the Euclidean distance, viz., <inline-formula><mml:math id="M8"><mml:mi>d</mml:mi><mml:mo>=</mml:mo><mml:msqrt><mml:mrow><mml:msubsup><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mrow></mml:msqrt></mml:math></inline-formula> .</p>
<p>To avoid a profusion of parameters we assume that the patches are statistically identical, i.e., &#x003BC;<sub><italic>i</italic></sub> &#x0003D; &#x003BC; and <inline-formula><mml:math id="M9"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> for <italic>i</italic> &#x0003D; 1, &#x02026;, <italic>L</italic><sup>2</sup>. With this assumption we can set &#x003BC; &#x0003D; 0 without loss of generality, since a different choice of &#x003BC; would amount to a uniform shift on the environmental values and so it would be inconsequential. Although we set <inline-formula><mml:math id="M10"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>2</mml:mn></mml:math></inline-formula> in most of our simulations, we have also analyzed the effect of <inline-formula><mml:math id="M11"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> on species&#x00027; coexistence. We note that for &#x003C1; &#x0003D; 0 the environmental values <italic>E</italic><sub><italic>i</italic></sub> are statistically independent normal random variables with mean zero and variance <inline-formula><mml:math id="M12"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula>. Most of our analysis will focus on the uncorrelated environment, but we have also analyzed the possibility of coexistence in environmentally autocorrelated landscapes (i.e., &#x003C1;&#x0003E;0). As a brief technical note, we mention that in the case the matrix &#x003A3; is symmetric and positive definite we can readily produce samples of the random vector <bold>E</bold> by setting <bold>E</bold> &#x0003D; &#x003BC;&#x0002B;&#x003A3;<sup>&#x000BD;</sup><bold>X</bold> where <inline-formula><mml:math id="M13"><mml:msup><mml:mrow><mml:mstyle mathvariant="bold"><mml:mtext>X</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>&#x02026;</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> is a random vector whose components are statistically independent standard normal random variables (Wasserman, <xref ref-type="bibr" rid="B74">2004</xref>). The main difficulty here is the calculation of the square root of the matrix &#x003A3;, which can be done using its spectral decomposition.</p>
</sec>
<sec>
<title>2.2. Viability selection</title>
<p>Following Scheiner et al. (<xref ref-type="bibr" rid="B56">2020</xref>), the phenotype <italic>Z</italic><sub><italic>i</italic></sub> of an individual located at patch <italic>i</italic> at the time of development was determined by 40 haploid loci as</p>
<disp-formula id="E2"><label>(2)</label><mml:math id="M14"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munderover></mml:mstyle><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mi>b</mml:mi><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munderover></mml:mstyle><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:mi>&#x003F5;</mml:mi><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic>R</italic><sub><italic>k</italic></sub> are the allelic values at the <italic>m</italic><sub><italic>r</italic></sub> &#x0003D; 20 non-plastic or rigid loci (i.e., loci whose phenotypic expression does not ontogenetically react to the environmental value), <italic>P</italic><sub><italic>k</italic></sub> are the allelic values at the <italic>m</italic><sub><italic>p</italic></sub> &#x0003D; 20 plastic loci (their phenotypic expression depends on external environmental cues that influence development) and &#x003F5; is a normally distributed environmental effect with mean 0 and variance &#x003C3;<sub>&#x003F5;</sub> &#x0003D; 1/10. Here, <italic>b</italic> is the plasticity parameter that takes on the value <italic>b</italic> &#x0003D; 0 for the non-plastic species (species 1) and <italic>b</italic> &#x0003D; 1 for the plastic species (species 2). There is no lack of generality in this choice because the allelic values <italic>P</italic><sub><italic>k</italic></sub> (and <italic>R</italic><sub><italic>k</italic></sub> as well) are real-valued variables and so any other choice of the plasticity parameter can be reset to <italic>b</italic> &#x0003D; 1 by a proper rescaling of <italic>P</italic><sub><italic>k</italic></sub>.</p>
<p>The initial allelic values for all loci were also independently drawn from a normal distribution with mean 0 and variance 1/10. Hence, the sum of allelic effects for each set of loci is a normal random variable of mean 0 and variance 20/10 &#x0003D; 2, which matches our typical choice for the variance of the environmental values, viz., <inline-formula><mml:math id="M15"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>2</mml:mn></mml:math></inline-formula>. For a given genotype, the phenotype <italic>Z</italic><sub><italic>i</italic></sub> at patch <italic>i</italic> is a linear function of the environment value <italic>E</italic><sub><italic>i</italic></sub> and so <inline-formula><mml:math id="M16"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the intercept and <inline-formula><mml:math id="M17"><mml:mi>b</mml:mi><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the slope (Scheiner, <xref ref-type="bibr" rid="B55">2013</xref>; Scheiner et al., <xref ref-type="bibr" rid="B56">2020</xref>). In the initial setup, the expected values of these quantities are zero.</p>
<p>Selection is only for viability, and the survival probability of an individual at patch <italic>i</italic> depends on its phenotype and the cost of plasticity. Here, we assume a Gaussian fitness model (Scheiner et al., <xref ref-type="bibr" rid="B56">2020</xref>):</p>
<disp-formula id="E3"><label>(3)</label><mml:math id="M18"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo class="qopname">exp</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:msup><mml:mrow><mml:mi>w</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mfrac><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:mfrac><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munderover></mml:mstyle><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic>E</italic><sub><italic>i</italic></sub> is the optimum phenotype that coincides with the patch&#x00027;s environmental value (i.e., stabilizing selection with a moving optimum), <italic>w</italic><sup>2</sup> is inversely proportional to the strength of stabilizing selection and <italic>c</italic>&#x02265;0 determines the cost of plasticity. Here, we set <italic>w</italic><sup>2</sup> &#x0003D; 1 without loss of generality. In fact, we can easily eliminate the parameter <italic>w</italic><sup>2</sup> from the model by rescaling the adaptive non-plastic allele values <inline-formula><mml:math id="M19"><mml:msubsup><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>/</mml:mo><mml:mi>w</mml:mi></mml:math></inline-formula> and the patches environmental values <inline-formula><mml:math id="M20"><mml:msubsup><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>/</mml:mo><mml:mi>w</mml:mi></mml:math></inline-formula>. The adaptive plastic allele values <italic>P</italic><sub><italic>k</italic></sub> do not change. Since <inline-formula><mml:math id="M21"><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0007E;</mml:mo><mml:mi>N</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>, we have <inline-formula><mml:math id="M22"><mml:msubsup><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0007E;</mml:mo><mml:mi>N</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>/</mml:mo><mml:msup><mml:mrow><mml:mi>w</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>. Hence, the effect of <italic>w</italic><sup>2</sup> is simply a rescaling of the variance of the patches environmental values <inline-formula><mml:math id="M23"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula>. In other words, increasing the strength of selection (i.e., decreasing <italic>w</italic><sup>2</sup>) is equivalent to increasing <inline-formula><mml:math id="M24"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> and hence to increasing the roughness of the landscape. Equation (3) includes maintenance costs of plasticity (DeWitt et al., <xref ref-type="bibr" rid="B15">1998</xref>) because there is a proportional reduction in survival when <italic>c</italic>&#x0003E;0 even if plasticity is not expressed as it is the case for species 1. However, in this paper we assume that individuals belonging to species 1 do not carry plastic alleles, so effectively <italic>b</italic> &#x0003D; 0 and <italic>c</italic> &#x0003D; 0 for them.</p>
<p>We note that there are no intra and interspecific interactions during the viability selection process, whose net effect is to decrease the population of both species. After passing the viability selection process, the surviving individuals compete among themselves to repopulate their patch, as described next.</p>
</sec>
<sec>
<title>2.3. Ecological competition</title>
<p>We assume that when the two species occupy the same patch they interact and there is interference or scramble competition. Given the species abundances <italic>N</italic><sub>1<italic>i</italic></sub> and <italic>N</italic><sub>2<italic>i</italic></sub> in patch <italic>i</italic> &#x0003D; 1, &#x02026;, <italic>L</italic><sup>2</sup> after viability selection, the total number of offspring <inline-formula><mml:math id="M25"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="M26"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> produced by the individuals of each species is determined by Ricker&#x00027;s equations (Ricker, <xref ref-type="bibr" rid="B52">1954</xref>):</p>
<disp-formula id="E4"><label>(4a)</label><mml:math id="M27"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo class="qopname">exp</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mi>r</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mn>11</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mn>12</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E5"><label>(4b)</label><mml:math id="M28"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo class="qopname">exp</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mi>r</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mn>21</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mn>22</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where e<sup><italic>r</italic></sup> is the maximum growth rate in a low-density population, <italic>K</italic><sub><italic>max</italic></sub> is the carrying capacity of each species when alone (assuming <italic>a</italic><sub>11</sub> &#x0003D; <italic>a</italic><sub>22</sub> &#x0003D; 1), and <italic>a</italic><sub><italic>ij</italic></sub> is the per capita effect of species <italic>j</italic> on species <italic>i</italic> (Godfray et al., <xref ref-type="bibr" rid="B23">1991</xref>). For simplicity, here we assume that both species have the same maximum growth rate and equilibrium population size when alone in a patch.</p>
<p>In the absence of migration, so the individuals are confined to their birth patches, we consider the scenario where the non-plastic species (i.e., species 1) outcompetes the plastic species (i.e., species 2). This scenario is achieved by setting <italic>r</italic>&#x02208;(0, 2), <italic>a</italic><sub>21</sub>&#x0003E;<italic>a</italic><sub>11</sub> and <italic>a</italic><sub>12</sub>&#x0003C;<italic>a</italic><sub>22</sub>. Furthermore, since we do not want to distinguish between the two species when only one species is present in the metapopulation, we set <italic>a</italic><sub>11</sub> &#x0003D; <italic>a</italic><sub>22</sub> &#x0003D; 1. To investigate the possibility of species coexistence (or lack thereof) when the ecologically inferior species 2 displays plasticity we set <italic>a</italic><sub>21</sub> &#x0003D; 3/2, <italic>a</italic><sub>12</sub> &#x0003D; 1/2 and <italic>r</italic> &#x0003D; 0.6 in our simulations. Assuming a relatively large <italic>r</italic> is reasonable in the case of expanding species as, e.g., insects (Frazier et al., <xref ref-type="bibr" rid="B21">2006</xref>) and plants (Appendix in Franco and Silvertown, <xref ref-type="bibr" rid="B20">2004</xref>). We emphasize that our choice for the competition matrix <italic>a</italic> excludes the possibility of mutual invasion, which is a standard requisite for species coexistence (P&#x000E1;sztor et al., <xref ref-type="bibr" rid="B47">2006</xref>). In fact, since <italic>a</italic><sub>21</sub> &#x0003D; 3/2&#x0003E;1 &#x0003D; <italic>a</italic><sub>11</sub> species 1 can invade a resident population of individuals of species 2 at equilibrium, but since <italic>a</italic><sub>12</sub> &#x0003D; 1/2 &#x0003C; 1 &#x0003D; <italic>a</italic><sub>22</sub> species 2 cannot invade a resident population of individuals of species 1 at equilibrium. It is instructive to note that det(<italic>a</italic>) &#x0003D; 1/4&#x0003E;0, so our competition matrix offers a counterexample to the fallacious statement that det(<italic>a</italic>)&#x0003E;0 implies negative frequency dependence (i.e. rare advantage) and hence ensures mutual invasibility (TBox 9.1 in P&#x000E1;sztor et al., <xref ref-type="bibr" rid="B47">2006</xref>).</p>
<p>We note that Ricker equations (4a) and (4b) yield real values for the number of offspring of each species in patch <italic>i</italic> &#x0003D; 1, &#x02026;, <italic>L</italic><sup>2</sup> and, in fact, the conditions that guarantee the superiority of species 1 over species 2 presented above for the single-patch situation are valid only when species numbers or abundances <italic>N</italic><sub>1<italic>i</italic></sub> and <italic>N</italic><sub>2<italic>i</italic></sub> are real variables. It turns out that transforming those real variables into integer variables that are necessary for our individual-based simulations may produce spurious results, such as permanence of a few individuals of species 2 in patches dominated by individuals of species 1 or the stability of patches dominated by individuals of species 2 against the invasion of a few individuals of species 1. Here, we circumvent this difficulty by taking the ceiling function in Equation (4a) (i.e., the least integer greater than or equal to <inline-formula><mml:math id="M29"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>) and the floor function in Equation (4b) (i.e., the greatest integer less than or equal to <inline-formula><mml:math id="M30"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>), which biases the competition in favor of species 1. In fact, this procedure impairs considerably the ability of species 2 to colonize a vacant patch <italic>i</italic> even when there is no competition (i.e., <italic>N</italic><sub>1<italic>i</italic></sub> &#x0003D; 0) because a single founder of species 2 cannot produce more than one offspring for our choice of growth rate (<italic>r</italic> &#x0003D; 0.6). For instance, if there is a single adult individual of species 2 in an otherwise empty patch <italic>i</italic> (i.e., <italic>N</italic><sub>2<italic>i</italic></sub> &#x0003D; 1 and <italic>N</italic><sub>1<italic>i</italic></sub> &#x0003D; 0), then Equation (4b) yields <inline-formula><mml:math id="M31"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0003C;</mml:mo><mml:msup><mml:mrow><mml:mstyle class="text"><mml:mtext class="textrm" mathvariant="normal">e</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msup><mml:mo>&#x02248;</mml:mo><mml:mn>1</mml:mn><mml:mo>.</mml:mo><mml:mn>8</mml:mn></mml:math></inline-formula>. Since floor(1.8) &#x0003D; 1, a single founder of species 2 cannot populate a vacant patch. This effect is mitigated when the migration rate is large since in this case there is a good chance that several individuals of species 2 migrate together to the same patch. However, this is actually a convenient scenario for our purposes since the more ecologically impaired species 2 is, the more remarkable the finding that plasticity can guarantee its permanence in the metapopulation.</p>
<p>In addition, we set <italic>K</italic><sub><italic>max</italic></sub> as a hard upper bound to the number of offspring <inline-formula><mml:math id="M32"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="M33"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> in patch <italic>i</italic>. In other words, whenever <inline-formula><mml:math id="M34"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0003E;</mml:mo><mml:msub><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> we set <inline-formula><mml:math id="M35"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> for <italic>l</italic> &#x0003D; 1, 2. This procedure is actually inconsequential because the populations at each patch approach the support capacity <italic>K</italic><sub><italic>max</italic></sub> from below because of our choice of the growth rate (viz., <italic>r</italic> &#x0003D; 0.6). For Ricker&#x00027;s growth equation, overshooting and the possibility of limit cycles happens for <italic>r</italic>&#x0003E;2 only (see, e.g., Franco and Fontanari, <xref ref-type="bibr" rid="B19">2017</xref>). In the <xref ref-type="supplementary-material" rid="SM1">Supplementary material</xref>, we present several instances of the time evolution of the species abundances that support our claim that <italic>N</italic><sub><italic>li</italic></sub>&#x0003C;<italic>K</italic><sub><italic>max</italic></sub> for <italic>l</italic> &#x0003D; 1, 2.</p>
</sec>
<sec>
<title>2.4. Reproduction</title>
<p>The ecological competition procedure described above determines the number of offspring of each species <inline-formula><mml:math id="M36"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="M37"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> in patch <italic>i</italic> &#x0003D; 1, &#x02026;, <italic>L</italic><sup>2</sup>. We re-emphasize that although Equations (4a) and (4b) produce real values for the species abundances, we take the integer values of those abundances using the floor and ceiling functions with the care to bias the competition in favor of species 1 (see Section 2.3). Now we need to specify the phenotypes of the <inline-formula><mml:math id="M38"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> offspring of species 1 and of the <inline-formula><mml:math id="M39"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> offspring of species 2 in patch <italic>i</italic>. We assume that the individuals that passed the viability selection sieve reproduce asexually (see <xref ref-type="supplementary-material" rid="SM1">Supplementary Section 7</xref> for a brief discussion of the effect of recombination) and that the mother of each offspring is chosen randomly, with replacement, among the survivors. We recall that the numbers of surviving individuals of species 1 and species 2 in patch <italic>i</italic> are <italic>N</italic><sub>1<italic>i</italic></sub> and <italic>N</italic><sub>2<italic>i</italic></sub>, respectively, and that all survivors have the same probability of being chosen as mothers regardless of their fitness. Hence, selection works at the level of survival (viability selection) only and not at the level of the (genetic) differences of reproduction of survivors. In this way the reproductive output reflects the ecological dynamics and not the population composition at each generation.</p>
<p>The differences between mother and offspring are due solely to mutations in the <italic>m</italic><sub><italic>r</italic></sub> non-plastic loci and in the <italic>m</italic><sub><italic>p</italic></sub> plastic loci, which were implemented as follows. Each allele of the offspring can mutate with probability <italic>u</italic><sub><italic>r</italic></sub> or <italic>u</italic><sub><italic>p</italic></sub> depending on whether it is a non-plastic or a plastic allele. (Here, we assume <italic>u</italic><sub><italic>r</italic></sub> &#x0003D; <italic>u</italic><sub><italic>p</italic></sub> &#x0003D; 5/1, 000, which gives a genome-wide mutation rate <italic>U</italic> &#x0003D; 0.2.) Once a mutation occurs, say at the plastic locus <italic>k</italic>, we add a normal random variable &#x003BE; of mean zero and variance 1/100 to the existing allelic value which then becomes <italic>P</italic><sub><italic>k</italic></sub>&#x0002B;&#x003BE;. This is Kimura&#x00027;s continuum-of-alleles model (Kimura, <xref ref-type="bibr" rid="B34">1965</xref>). As usual, generations were discrete and non-overlapping. During the development of an individual in a particular patch, we ignored any potential influence of parental phenotypes as, e.g., transgenerational plasticity (Uller, <xref ref-type="bibr" rid="B70">2008</xref>).</p>
<p>In sum, the offspring generation of species <italic>l</italic> &#x0003D; 1, 2 in patch <italic>i</italic> is obtained by selecting with replacement <inline-formula><mml:math id="M40"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> individuals from the <italic>N</italic><sub><italic>li</italic></sub> survivors of the selection sieve. The selected survivors are referred to as mothers. The phenotype differences between offspring and mothers are the mutations in the non-plastic and plastic loci.</p>
</sec>
<sec>
<title>2.5. Migration</title>
<p>Each individual within each patch can migrate to one of the eight surrounding patches (Moore neighborhood) with probability <italic>p</italic><sub><italic>mig</italic></sub>, and its destination is equally likely to be any of the eight patches. We were careful in keeping track migrant and non-migrant individuals that remained in their natal patch (Hassell et al., <xref ref-type="bibr" rid="B28">1995</xref>). The flow of migrants between patches takes place simultaneously and it may result in some patches becoming empty or exceeding the carrying capacity. After arriving at their destination patches, the migrants as well as the residents of those patches pass the viability selection sieve as described in Section 2.2. Again, some patches may become empty at this stage.</p>
</sec>
<sec>
<title>2.6. Metapopulation dynamics</title>
<p>As originally defined by Levins (<xref ref-type="bibr" rid="B38">1969</xref>), metapopulation dynamics consists of the extinction and colonization of local populations. Early models analogous to Levins&#x00027; showed that two competitors could coexist globally even if coexistence was impossible in a single patch (Levin, <xref ref-type="bibr" rid="B37">1974</xref>; Slatkin, <xref ref-type="bibr" rid="B61">1974</xref>; Nee and May, <xref ref-type="bibr" rid="B45">1992</xref>). However, here we do not impose a random extinction probability; only local adaptation and gene flow may interact to promote genetic variation and coexistence in the metapopulation. Actually, real metapopulations may contain local populations that never go extinct (Schoener and Spiller, <xref ref-type="bibr" rid="B59">1987</xref>). A cautionary note: Kawecki and Ebert (<xref ref-type="bibr" rid="B33">2004</xref>, p. 1232) rightly pointed out that &#x0201C;local adaptation is about genetic differentiation&#x0201D;, but warned to minimize non-genetic effects such as plasticity (thus considering it a &#x0201C;nuisance parameter&#x0201D;) when studying local adaptation. However, at the metapopulation level studied here the total phenotypic variation for plastic species 2 is the result of the variation in the reaction norm intercepts (first term on the right side of Equation 2) and slopes (second term on the right side of Equation 2), both of which have a genetic basis (Scheiner, <xref ref-type="bibr" rid="B53">1993</xref>; Sommer, <xref ref-type="bibr" rid="B64">2020</xref>). Therefore, local adaptation is better understood as how close the mean phenotype matches the patch&#x00027;s environmental optimum value.</p>
<p>In this paper we consider only an expanding population scenario. More pointedly, the initial population was located on a randomly selected patch of the 2-dimensional grid at carrying capacity <italic>K</italic><sub><italic>max</italic></sub> for the two species, each at equal frequency (i.e., <italic>K</italic><sub><italic>max</italic></sub>/2 individuals from each species), and all other patches were empty. We recall that the carrying capacity of the metapopulation is <inline-formula><mml:math id="M41"><mml:msub><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> individuals, so there is plenty of room for expansion from this initial setup. For each species independently, there was an equilibration period of 2,000 generations at the seed patch before the colonization of the empty patches started. We initialize the allelic values <italic>R</italic><sub><italic>k</italic></sub>, <italic>k</italic> &#x0003D; 1, &#x02026;, <italic>m</italic><sub><italic>r</italic></sub> and <italic>P</italic><sub><italic>k</italic></sub>, <italic>k</italic> &#x0003D; 1, &#x02026;, <italic>m</italic><sub><italic>p</italic></sub> in Equation (2) for each individual as described before. In the equilibration period the two species evolve independently in the seed patch, i.e., there is no interspecific (as well as intraspecific) competition since after viability selection one guarantees that there will be exactly <italic>K</italic><sub><italic>max</italic></sub>/2 offspring of each species. Thus, Equations (4a) and (4b) are not used in the equilibration period. In sum, during equilibration viability selection decreases the population of each species by eliminating the less fit individuals and reproduction resets the population of the seed patch to its original size.</p>
<p>After the equilibration period, the colonization of empty patches starts. The order of events is migration, phenotype determination, viability selection, ecological competition and reproduction. The sequence of these five events comprises one generation. Note that this sequence of events guarantees that a given individual undergoes the processes of selection, competition and reproduction within the same patch and that only their offspring have the possibility to migrate to neighboring patches.</p>
<p>A word is in order about the ecology that our model describes. Consider a particular patch, say patch <italic>i</italic>, at a moment just after migration, so its population consists of the offspring that stayed in patch <italic>i</italic> and those that migrated to patch <italic>i</italic>. We recall that the model assumes that only the offspring migrate. To reach the reproductive age, these offspring must pass the selection sieve in patch <italic>i</italic>. Those who passed this sieve become adults: they are the survivors, which amount to <italic>N</italic><sub>1<italic>i</italic></sub> individuals of species 1 and <italic>N</italic><sub>2<italic>i</italic></sub> individuals of species 2. The survivors compete among themselves in patch <italic>i</italic> to secure the resources to support their potential offspring. This competition is described in a coarse-grained manner by Equations (4a) and (4b), which output the number of offspring that each species can give rise to and sustain in patch <italic>i</italic>, viz., <inline-formula><mml:math id="M42"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="M43"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>. At this point, we could argue that the survivors produce an infinite number of offspring but only <inline-formula><mml:math id="M44"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> of them survive because of resources limitation. Alternatively, we could argue that the survivors produce exactly the number of offspring determined by Equations (4a) and (4b). This last interpretation is the one adopted in population dynamics (Godfray et al., <xref ref-type="bibr" rid="B23">1991</xref>; P&#x000E1;sztor et al., <xref ref-type="bibr" rid="B47">2006</xref>), from where we have borrowed those Ricker-like equations. In any case, assuming one or the other scenario would not affect the outcomes. Next, the mothers of the <inline-formula><mml:math id="M45"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> offspring are chosen randomly with replacement among the survivors of each species. Behind the coarse-grained approach is the assumption that adults of the same species are indistinguishable with respect to their competitive and reproductive abilities. Finally, each offspring decides if it will stay in patch <italic>i</italic> or move to one of the neighboring patches.</p>
</sec>
<sec>
<title>2.7. Computer simulations</title>
<p>Individual-based simulations were independently implemented in Fortran and in MATLAB (<xref ref-type="bibr" rid="B41">2020</xref>) algebra environment using tools supplied by the Statistics Toolbox. Simulation results were double-checked by different authors to avoid any potential error. The results presented here are based in the Fortran code because it has speed advantages over MATLAB. The variable parameters were: <italic>L</italic> (landscape dimensionality), <inline-formula><mml:math id="M46"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> (variance of the environmental values <italic>E</italic><sub><italic>i</italic></sub>), &#x003C1; (environmental correlation), <italic>K</italic><sub><italic>max</italic></sub> (patch&#x00027;s carrying capacity), <italic>c</italic> (plasticity cost), and <italic>p</italic><sub><italic>mig</italic></sub> (migration probability). For each set of conditions, we run 1,000 independent simulations (a random landscape for each simulation). The metapopulation dynamics was run for at most 2,100 generations and we used the last 100 generations to average over the quantities of interest (e.g., the abundance of each species) in the equilibrium regime. If one of the two species fixed before that upper limit, we halted the dynamics. Otherwise, we considered that coexistence was achieved. However, in the study of the single-species metapopulation dynamics all runs reached the upper limit of 2,100 generations. In the <xref ref-type="supplementary-material" rid="SM1">Supplementary material</xref>, we present many instances of the time evolution of both species (e.g., <xref ref-type="supplementary-material" rid="SM1">Supplementary Figure 12</xref>), which show that the running time of 2, 000 generations is sufficient to guarantee that the metapopulation dynamics reaches the equilibrium regime.</p>
<p>Since the quantities used to characterize coexistence at equilibrium are averages over patches (typically <italic>L</italic><sup>2</sup> &#x0003D; 400), last generations of the colonization stage (100) and runs (typically 500 runs result in coexistence), the number of samples used to estimate their mean values is very large, resulting in error bars smaller than the sizes of the symbols used in the figures. However, in order to assess the variability of the equilibrium variables described next, in <xref ref-type="supplementary-material" rid="SM1">Supplementary Section 8</xref>, we offer a variety of scatter plots for selected values of the model parameters.</p>
</sec>
<sec>
<title>2.8. Equilibrium variables</title>
<p>In this paper we aim at the characterization of the metapopulation in the equilibrium regime, defined as the regime between generations <italic>t</italic> &#x0003D; 2, 000 and <italic>t</italic> &#x0003D; 2, 100. In the <xref ref-type="supplementary-material" rid="SM1">Supplementary material</xref>, we present results for the time evolution of both species in a variety of scenarios, but here we consider the equilibrium regime only. We focus on the following four variables.</p>
<list list-type="bullet">
<list-item><p>The mean relative abundances of each species, which we denote by &#x02329;&#x02329;<italic>n</italic><sub><italic>l</italic></sub>&#x0232A;&#x0232A; for <italic>l</italic> &#x0003D; 1, 2. These are the natural variables to describe the metapopulation at equilibrium. For <italic>p</italic><sub><italic>mig</italic></sub>&#x0003E;0, &#x02329;&#x02329;<italic>n</italic><sub><italic>l</italic></sub>&#x0232A;&#x0232A; is measured by averaging the number of individuals of species <italic>l</italic> (just after viability selection) over all patches during the last 100 generations of the 2,100 generations runs. The result is then divided by the number of patches (<italic>L</italic><sup>2</sup>) and by the patch&#x00027;s carrying capacity (<italic>K</italic><sub><italic>max</italic></sub>). The same procedure applies for <italic>p</italic><sub><italic>mig</italic></sub> &#x0003D; 0, except that we must omit the division by the number of patches since the population cannot leave the seed patch in this case. The final result is then averaged over the independent runs. We represent all those averages by a double brackets notation. In the <xref ref-type="supplementary-material" rid="SM1">Supplementary material</xref>, we introduce a single bracket notation to discuss results for single runs. We note that all patches are considered in the computation of the mean relative abundances, regardless of whether they are empty, contain a single species or contain both species.</p></list-item>
<list-item><p>The fraction of runs &#x00393; for which there is coexistence at generation 2, 100. This quantity essentially measures the fraction of runs for which species 2 is not extinct, since even for rugged environments and large migration probabilities, species 1 is rarely extinct. For a run to result in coexistence it is enough that both species are present in the metapopulation at <italic>t</italic> &#x0003D; 2, 100. Hence, &#x00393; offers no information whatsoever on the nature of the coexistence, i.e., whether the two species coexist within a same patch or inhabit different patches. We stress that there is no averaging procedure involved in the evaluation of &#x00393;.</p></list-item>
<list-item><p>The mean fraction of patches &#x02329;&#x02329;&#x003A0;&#x0232A;&#x0232A; that carry both species for the runs that led to coexistence. For each run, an average is calculated over the last 100 generations of the run and then the result is averaged over runs. Hence, the double brackets notation. Clearly, &#x02329;&#x02329;&#x003A0;&#x0232A;&#x0232A; offers valuable information on the nature of coexistence. Values of &#x02329;&#x02329;&#x003A0;&#x0232A;&#x0232A; close to 1 indicate that most patches harbor both species, whereas values of &#x02329;&#x02329;&#x003A0;&#x0232A;&#x0232A; close to 0 indicate that coexistence may take place in only a few patches due perhaps to their extreme environmental values that prevent their colonization by species 1. We refer to the former type of coexistence as within-patch coexistence and to the latter type as among-patch coexistence. The variable &#x02329;&#x02329;&#x003A0;&#x0232A;&#x0232A; allows us to distinguish between these two types. We advance that within-patch coexistence is predominant at intermediate values of the migration probability <italic>p</italic><sub><italic>mig</italic></sub> and of the environment roughness <inline-formula><mml:math id="M47"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula>, whereas among-patch coexistence becomes more important at low and high levels of those parameters.</p></list-item>
</list>
<p>To facilitate the interpretation of these variables, in <xref ref-type="supplementary-material" rid="SM1">Supplementary Section 3</xref>, we offer snapshots of the grid where the abundances the two species in each patch is shown in a color scale.</p>
</sec>
</sec>
<sec sec-type="results" id="s3">
<title>3. Results</title>
<sec>
<title>3.1. Single-species metapopulation dynamics</title>
<p>As the uncertain heterogeneous environment poses an adaptive challenge to both species through the viability selection sieve, it is instructive to study the metapopulation dynamics separately for each species before considering the competition between them. In addition, for the runs that do not result in coexistence, the equilibrium of the metapopulation is described by the single-species dynamics. As before, the initial single-species population was located on a randomly selected patch of the 2-dimensional grid at carrying capacity <italic>K</italic><sub><italic>max</italic></sub> and there was an equilibration period of 2,000 generations before the individuals were allowed to migrate to the neighboring patches.</p>
<sec>
<title>3.1.1. Non-plastic species</title>
<p>Let us consider first the dynamics of the non-plastic species 1, which is obtained by setting <italic>b</italic> &#x0003D; 0 in Equation (2), <italic>c</italic> &#x0003D; 0 in Equation (3), and <italic>N</italic><sub>2<italic>i</italic></sub> &#x0003D; 0 in Equations (4a) and (4b).</p>
<p>The effects of the migration probability and environmental correlation on the mean relative abundance of species 1 are summarized in <xref ref-type="fig" rid="F1">Figure 1</xref>. There is a steady decrease of &#x02329;&#x02329;<italic>n</italic><sub>1</sub>&#x0232A;&#x0232A; with increasing <italic>p</italic><sub><italic>mig</italic></sub>, which is clearly a consequence of the difficulty of the non-plastic species to adapt to the heterogeneous patches. This happens in part because some lineage branches of a migrant individual (ancestor) have not enough time to adapt to their local environment since the individuals are forced to migrate to neighboring patches. However, some lineage branches are likely to stay and to adapt to their local environment. But a fraction of the population of these well-adapted lineages are continually transferred to patches where they are poorly adapted and the individuals have little chances of surviving and hence of sending offspring back to the patch of their ancestors. In that sense, migration produces an effective fitness independent culling of individuals of species 1. This problem is mitigated when the environment is highly correlated, i.e., the environmental values at neighboring patches are likely to be very similar, and disappears altogether for a homogeneous environment (&#x003C1; &#x0003D; 1). The finding that the non-plastic species reaches only a fraction of the maximal patch occupancy is key to explaining coexistence in our model: the dashed horizontal line in <xref ref-type="fig" rid="F1">Figure 1</xref> indicates the population density below which the non-plastic species cannot prevent the invasion of the plastic species, as will be shown in Section 3.2.2.</p>
<fig id="F1" position="float">
<label>Figure 1</label>
<caption><p>Mean relative abundance of the non-plastic species &#x02329;&#x02329;<italic>n</italic><sub>1</sub>&#x0232A;&#x0232A; for the single-species metapopulation dynamics as function of the migration probability <italic>p</italic><sub><italic>mig</italic></sub> for the environmental correlation &#x003C1; &#x0003D; 0, 0.25, 0.5, and 0.75, as indicated. The other parameters are <italic>L</italic> &#x0003D; 20, <italic>K</italic><sub><italic>max</italic></sub> &#x0003D; 100 and <inline-formula><mml:math id="M48"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>2</mml:mn></mml:math></inline-formula>. The lines connecting the symbols are guides to the eye. The dashed horizontal line is &#x02329;&#x02329;<italic>n</italic><sub>1</sub>&#x0232A;&#x0232A;= 1/<italic>a</italic><sub>21</sub> &#x0003D; 2/3.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fevo-11-1077374-g0001.tif"/>
</fig>
<p>In the case the population is confined to the seed patch (i.e., for <italic>p</italic><sub><italic>mig</italic></sub> &#x0003D; 0) we find &#x02329;&#x02329;<italic>n</italic><sub>1</sub>&#x0232A;&#x0232A;&#x02248;0.9. The adaptation is not perfect due to the noise &#x003F5; in Equation (2) and to the non-zero genome-wide mutation probability <italic>U</italic>. (We note that since the genome of species 1 is determined by the <italic>m</italic><sub><italic>r</italic></sub> &#x0003D; 20 non-plastic alleles <italic>R</italic><sub><italic>k</italic></sub> only, and since each allele has probability <italic>u</italic><sub><italic>r</italic></sub> &#x0003D; 5/1, 000 of mutating we have <italic>U</italic> &#x0003D; 0.1.) Of course, this reduction in fitness caused by mutations is the well-known mutational load effect (Crow, <xref ref-type="bibr" rid="B13">1958</xref>). It is instructive to quantify the effect of &#x003F5; on the survival probability of an individual of species 1 carrying the optimal phenotype in the seed patch <italic>i</italic>. In this case, <inline-formula><mml:math id="M49"><mml:msubsup><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>o</mml:mi><mml:mi>p</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:mi>&#x003F5;</mml:mi></mml:math></inline-formula> and so <inline-formula><mml:math id="M50"><mml:msubsup><mml:mrow><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>o</mml:mi><mml:mi>p</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mstyle class="text"><mml:mtext class="textrm" mathvariant="normal">e</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:msup><mml:mrow><mml:mi>&#x003F5;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>/</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>. Recalling that &#x003F5;&#x0007E;<italic>N</italic>(0, &#x003C3;<sub>&#x003F5;</sub>), the expected survival probability of the optimal phenotype is</p>
<disp-formula id="E6"><label>(5)</label><mml:math id="M51"><mml:mrow><mml:mtable columnalign='left'><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow><mml:mi>E</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>W</mml:mi><mml:mi>i</mml:mi><mml:mrow><mml:mi>o</mml:mi><mml:mi>p</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mstyle displaystyle='true'><mml:mrow><mml:msubsup><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:mo>&#x02212;</mml:mo><mml:mi>&#x0221E;</mml:mi></mml:mrow><mml:mi>&#x0221E;</mml:mi></mml:msubsup><mml:mrow><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:mi>&#x003F5;</mml:mi></mml:mrow><mml:mrow><mml:msqrt><mml:mrow><mml:mn>2</mml:mn><mml:mi>&#x003C0;</mml:mi><mml:msubsup><mml:mi>&#x003C3;</mml:mi><mml:mi>&#x003F5;</mml:mi><mml:mn>2</mml:mn></mml:msubsup></mml:mrow></mml:msqrt></mml:mrow></mml:mfrac><mml:mi>exp</mml:mi><mml:mo stretchy='true'>[</mml:mo><mml:mo>&#x02212;</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mo stretchy='false'>(</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:msubsup><mml:mi>&#x003C3;</mml:mi><mml:mi>&#x003F5;</mml:mi><mml:mn>2</mml:mn></mml:msubsup></mml:mrow></mml:mfrac><mml:mo stretchy='false'>)</mml:mo><mml:msup><mml:mi>&#x003F5;</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo stretchy='true'>]</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:msqrt><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:msubsup><mml:mi>&#x003C3;</mml:mi><mml:mi>&#x003F5;</mml:mi><mml:mn>2</mml:mn></mml:msubsup></mml:mrow></mml:msqrt></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:mrow></mml:mrow></mml:mstyle></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula>
<p>which yields <inline-formula><mml:math id="M52"><mml:mi>E</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>o</mml:mi><mml:mi>p</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x02248;</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>95</mml:mn></mml:math></inline-formula> for <inline-formula><mml:math id="M53"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003F5;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>/</mml:mo><mml:mn>10</mml:mn></mml:math></inline-formula>.</p>
<p>The probability of metapopulation extinction was essentially zero for species 1, except for large values of the migration probability (i.e., <italic>p</italic><sub><italic>mig</italic></sub>&#x0003E;0.35). For instance, for <italic>p</italic><sub><italic>mig</italic></sub> &#x0003D; 0.4 we find that only 8 out of the 1, 000 runs resulted in extinction for &#x003C1; &#x0003D; 0, whereas no extinction was observed for &#x003C1; &#x0003D; 0.75. In <xref ref-type="supplementary-material" rid="SM1">Supplementary Section 1</xref>, we discuss the adaptation process of species 1 with emphasis on the time dependence of the sum of the non-plastic allelic values <inline-formula><mml:math id="M54"><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and to the mean fitness of the population.</p>
</sec>
<sec>
<title>3.1.2. Plastic species</title>
<p>We turn now to the dynamics of the plastic species 2, which is obtained by setting <italic>b</italic> &#x0003D; 1 in Equation (2), and <italic>N</italic><sub>1<italic>i</italic></sub> &#x0003D; 0 in Equations (4a) and (4b). The setup is the same as described in the study of the non-plastic species.</p>
<p><xref ref-type="fig" rid="F2">Figure 2</xref> shows that the migration probability and the environmental correlation have no effect on the relative abundance of the plastic species 2 in the case plasticity is costless (<italic>c</italic> &#x0003D; 0). This unexciting finding is actually important because it validates our modeling of the plastic species. In fact, a plastic species should thrive equally well in all patches (hence the unresponsiveness to changes on <italic>p</italic><sub><italic>mig</italic></sub>), regardless of the environment (hence the unresponsiveness to &#x003C1;), as observed in <xref ref-type="fig" rid="F2">Figure 2</xref>. In addition, these results already illustrate the fitness advantage of the plastic species 2 over the non-plastic species 1, specially for large migration probability. Here, we use the relative abundance of the species after viability selection as a proxy for the fitness of the species. Of course, adaptation of species 2 mainly happens via the contribution of the plastic components <italic>P</italic><sub><italic>k</italic></sub> to the mean optimum phenotype and this is achieved by setting the non-plastic components <italic>R</italic><sub><italic>k</italic></sub> as close to zero as possible. In <xref ref-type="supplementary-material" rid="SM1">Supplementary Section 2</xref>, we offer a study of the adaptation process of species 2 with emphasis on the time dependence of the sum of both non-plastic <inline-formula><mml:math id="M56"><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and plastic <inline-formula><mml:math id="M57"><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> allelic values as well as of the mean fitness of the population. We note that for <italic>p</italic><sub><italic>mig</italic></sub> &#x0003D; 0, we find &#x02329;&#x02329;<italic>n</italic><sub>2</sub>&#x0232A;&#x0232A;&#x02248;0.87, which indicates that species 2 is slightly less well-adapted to the environment of the seed patch than species 1. The probable reason for this is that the genome-wide mutation probability for species 2 is twice that of species 1.</p>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p>Mean relative abundance of the plastic species &#x02329;&#x02329;<italic>n</italic><sub>2</sub>&#x0232A;&#x0232A; for the single-species metapopulation dynamics as function of the migration probability <italic>p</italic><sub><italic>mig</italic></sub> for the environmental correlation &#x003C1; &#x0003D; 0, 0.25, 0.5, and 0.75, as indicated, and plasticity cost <italic>c</italic> &#x0003D; 0. The other parameters are <italic>L</italic> &#x0003D; 20, <italic>K</italic><sub><italic>max</italic></sub> &#x0003D; 100 and <inline-formula><mml:math id="M55"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>2</mml:mn></mml:math></inline-formula>. The lines connecting the symbols are guides to the eye.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fevo-11-1077374-g0002.tif"/>
</fig>
<p>The invariance of &#x02329;&#x02329;<italic>n</italic><sub>2</sub>&#x0232A;&#x0232A; to changes in <italic>p</italic><sub><italic>mig</italic></sub> and &#x003C1; does not hold when there is a cost to plasticity (i.e., <italic>c</italic>&#x0003E;0), as shown in <xref ref-type="fig" rid="F3">Figure 3</xref>. This is expected because introducing a cost to plasticity makes species 2 less plastic and hence more similar to species 1. In fact, in order to maximize survival for large <italic>c</italic>, the allelic values <italic>P</italic><sub><italic>k</italic></sub> must tend to zero, thus reducing the influence of the penalty term in Equation (3). Of course, setting the values of the plastic alleles to zero is equivalent to turning species 2 into a non-plastic species (see <xref ref-type="supplementary-material" rid="SM1">Supplementary Figure 6</xref>). For <italic>p</italic><sub><italic>mig</italic></sub> &#x0003D; 0 and <italic>c</italic>&#x0003E;0 the optimal phenotype is <italic>R</italic><sub><italic>k</italic></sub> &#x0003D; <italic>E</italic><sub><italic>i</italic></sub>, &#x02200;<italic>k</italic> and <italic>P</italic><sub><italic>k</italic></sub> &#x0003D; 0, &#x02200;<italic>k</italic> where <italic>i</italic> the seed patch. This result can be obtained by the direct maximization of <italic>W</italic><sub><italic>i</italic></sub>, given in Equation (3), with respect to <italic>R</italic><sub><italic>k</italic></sub> and <italic>P</italic><sub><italic>k</italic></sub>. For <italic>p</italic><sub><italic>mig</italic></sub>&#x0003E;0, there is a trade-off between <italic>R</italic><sub><italic>k</italic></sub> and <italic>P</italic><sub><italic>k</italic></sub>: for small <italic>c</italic> it is advantageous to explore plasticity (see <xref ref-type="fig" rid="F1">Figures 1</xref>, <xref ref-type="fig" rid="F2">2</xref>), whereas for large <italic>c</italic> it is advantageous to turn off the plastic alleles. Although in the latter case species 2 becomes essentially a non-plastic species, we note that &#x02329;&#x02329;<italic>n</italic><sub>2</sub>&#x0232A;&#x0232A; is slightly below &#x02329;&#x02329;<italic>n</italic><sub>1</sub>&#x0232A;&#x0232A; because of the practical impossibility to keep <italic>P</italic><sub><italic>k</italic></sub> close to zero due to the persistent perturbations produced by the mutation process.</p>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p>Mean relative abundance of the plastic species &#x02329;&#x02329;<italic>n</italic><sub>2</sub>&#x0232A;&#x0232A; for the single-species metapopulation dynamics as function of the plasticity cost <italic>c</italic> for the environmental correlation &#x003C1; &#x0003D; 0, 0.25, 0.5, and 0.75, as indicated, and migration probability <italic>p</italic><sub><italic>mig</italic></sub> &#x0003D; 0.3. The other parameters are <italic>L</italic> &#x0003D; 20, <italic>K</italic><sub><italic>max</italic></sub> &#x0003D; 100 and <inline-formula><mml:math id="M58"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>2</mml:mn></mml:math></inline-formula>. The lines connecting the symbols are guides to the eye.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fevo-11-1077374-g0003.tif"/>
</fig>
<p>We advance that, somewhat surprisingly, the plasticity cost will be crucial to the interpretation of the results of the interspecies competition in our model. In fact, as already mentioned without evidence, if the relative abundance of species 1 in a given patch is less than some threshold value, the resident species cannot prevent the invasion of (and the consequent coexistence with) a competitively inferior species. However, we will show next that control of the fitness of species 2 using the parameter <italic>c</italic> (see <xref ref-type="fig" rid="F3">Figure 3</xref>) indicates that successful invasion requires the invading species to be very well-adapted to the patchy environment.</p>
<p>In time, we say that a species is competitively inferior if it cannot invade a resident population of the other species in a single-patch scenario (i.e., for <italic>p</italic><sub><italic>mig</italic></sub> &#x0003D; 0). In that sense, competitive superiority or inferiority is completely determined by the competition matrix <italic>a</italic> introduced in Section 2.3. Also, by fitness of a species we mean the relative abundance of the species after viability selection, which is given by averaging the survival probability, Equation (3), over individuals, patches, and generations at equilibrium.</p>
</sec>
</sec>
<sec>
<title>3.2. Two-species metapopulation dynamics</title>
<p>We consider now the general setup where the two species are first let to reach equilibrium independently of each other in the seed patch and then are allowed to compete and migrate to the neighboring patches. Of course, the focus here is on the runs that led to coexistence since the runs that do not lead to coexistence were already fully characterized in the previous subsection.</p>
<p><xref ref-type="fig" rid="F4">Figure 4</xref> summarizes the effects of the environment on the probability that a run results in coexistence, which is measured by &#x00393; (<xref ref-type="fig" rid="F4">Figure 4A</xref>), and on the fraction of patches that harbor the two species, which is measured by &#x02329;&#x02329;&#x003A0;&#x0232A;&#x0232A; (<xref ref-type="fig" rid="F4">Figure 4B</xref>). To a good approximation the effect of the environment is represented by the single variable <inline-formula><mml:math id="M60"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:mi>&#x003C1;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>, which means that &#x003C1; can be absorbed in <inline-formula><mml:math id="M61"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> and we can study the uncorrelated landscape only without loss of generality. In other words, increasing the correlation between patches is equivalent to decreasing the variance of environmental values in an uncorrelated landscape. The important message from <xref ref-type="fig" rid="F4">Figure 4</xref> is that the plastic species 2 is extinct in a quasi-homogeneous or smooth environment (i.e., for <inline-formula><mml:math id="M62"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:mi>&#x003C1;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x02248;</mml:mo><mml:mn>0</mml:mn></mml:math></inline-formula>). We note that in this region there are no data for &#x02329;&#x02329;&#x003A0;&#x0232A;&#x0232A; because no run resulted in coexistence.</p>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p>Influence of the variance of environmental values <inline-formula><mml:math id="M59"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> and patch&#x00027;s environmental correlation &#x003C1; on species coexistence. <bold>(A)</bold> Fraction of runs that led to species coexistence. <bold>(B)</bold> Fraction of patches where there is species coexistence. The parameters are <italic>L</italic> &#x0003D; 20, <italic>K</italic><sub><italic>max</italic></sub> &#x0003D; 100, <italic>c</italic> &#x0003D; 0, and <italic>p</italic><sub><italic>mig</italic></sub> &#x0003D; 0.3. The lines connecting the symbols are guides to the eye.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fevo-11-1077374-g0004.tif"/>
</fig>
<p>Interestingly, increase of the environment roughness has only a limited effect on the probability of coexistence &#x00393;, which quickly levels out and remains unaffected by further changes on <inline-formula><mml:math id="M63"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> (<xref ref-type="fig" rid="F4">Figure 4A</xref>). The probability that a patch exhibits coexistence &#x02329;&#x02329;&#x003A0;&#x0232A;&#x0232A; displays a more interesting behavior (<xref ref-type="fig" rid="F4">Figure 4B</xref>). For smooth environments, most patches are occupied by species 1 only, but as the environment roughness increases, those patches begin to harbor both species. The slow decrease of &#x02329;&#x02329;&#x003A0;&#x0232A;&#x0232A; we observe for large <inline-formula><mml:math id="M64"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> is due to the appearance of patches occupied by species 2 only (see <xref ref-type="supplementary-material" rid="SM1">Supplementary Figures 9&#x02013;11</xref>).</p>
<p><xref ref-type="fig" rid="F5">Figure 5</xref> shows the environmental effect on the relative abundances of both species. For smooth environments, species 2 is present in a few patches only (<xref ref-type="fig" rid="F4">Figure 4B</xref>) and so its relative abundance &#x02329;&#x02329;<italic>n</italic><sub>2</sub>&#x0232A;&#x0232A; must necessarily be small, even if its density is high in the patches where it is present. In fact, the relative abundances are informative only when &#x02329;&#x02329;&#x003A0;&#x0232A;&#x0232A;&#x02248;1, in which case they represent the proportions of each species within a patch. The low density of species 1 for rugged environments is an indication that there may be patches occupied by species 2 only, which supports our explanation for the decreasing of &#x02329;&#x02329;&#x003A0;&#x0232A;&#x0232A; for increasing <inline-formula><mml:math id="M66"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula>. We recall that within-patch coexistence can happen only if the density of species 1 is below the threshold 1/<italic>a</italic><sub>21</sub> &#x0003D; 2/3, which is indicated by the dashed horizontal line in <xref ref-type="fig" rid="F5">Figure 5A</xref>. Otherwise, we can observe among-patch coexistence only, in which species 2 occupies patches characterized by extreme environment values that are not suitable to species 1.</p>
<fig id="F5" position="float">
<label>Figure 5</label>
<caption><p>Influence of the variance of environmental values <inline-formula><mml:math id="M65"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> and patch&#x00027;s environmental correlation &#x003C1; on the mean relative abundances. <bold>(A)</bold> Non-plastic species 1. <bold>(B)</bold> Plastic species 2. The parameters are <italic>L</italic> &#x0003D; 20, <italic>K</italic><sub><italic>max</italic></sub> &#x0003D; 100, <italic>c</italic> &#x0003D; 0, and <italic>p</italic><sub><italic>mig</italic></sub> &#x0003D; 0.3. The lines connecting the symbols are guides to the eye. The dashed horizontal line is &#x02329;&#x02329;<italic>n</italic><sub>1</sub>&#x0232A;&#x0232A; &#x0003D; 1/<italic>a</italic><sub>21</sub> &#x0003D; 2/3.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fevo-11-1077374-g0005.tif"/>
</fig>
<p><xref ref-type="fig" rid="F6">Figure 6</xref> shows the effect of migration on species coexistence for an uncorrelated landscape (&#x003C1; &#x0003D; 0). Increasing the migration probability <italic>p</italic><sub><italic>mig</italic></sub> has an effect similar to increasing the environment ruggedness. As pointed out in our study of the single-species dynamics, migration affects the adaptation of species 1 but has little to none influence on the adaptation of species 2 when phenotypic plasticity is non-costly. Hence, the increase of the abundance of species 2 with increasing <italic>p</italic><sub><italic>mig</italic></sub> shown in the figure is a result of the effect of migration on the abundance of species 1 which in turn affects species 2 in the ecological competition stage.</p>
<fig id="F6" position="float">
<label>Figure 6</label>
<caption><p>Influence of the migration probability <italic>p</italic><sub><italic>mig</italic></sub> on species coexistence for the uncorrelated environment. <bold>(A)</bold> Probability of coexistence &#x00393; and probability of coexistence within a patch &#x02329;&#x02329;&#x003A0;&#x0232A;&#x0232A;. <bold>(B)</bold> Mean relative abundances of the non-plastic species &#x02329;&#x02329;<italic>n</italic><sub>1</sub>&#x0232A;&#x0232A; and of the plastic species &#x02329;&#x02329;<italic>n</italic><sub>2</sub>&#x0232A;&#x0232A;. The parameters are <italic>L</italic> &#x0003D; 20, <italic>K</italic><sub><italic>max</italic></sub> &#x0003D; 100, <italic>c</italic> &#x0003D; 0, <inline-formula><mml:math id="M67"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>2</mml:mn></mml:math></inline-formula> and &#x003C1; &#x0003D; 0. The lines connecting the symbols are guides to the eye. The dashed horizontal line is &#x02329;&#x02329;<italic>n</italic><sub>1</sub>&#x0232A;&#x0232A; &#x0003D; 1/<italic>a</italic><sub>21</sub> &#x0003D; 2/3.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fevo-11-1077374-g0006.tif"/>
</fig>
<p>The parameters <inline-formula><mml:math id="M69"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula>, &#x003C1; and <italic>p</italic><sub><italic>mig</italic></sub> influence mainly the adaptation of the non-plastic species 1. The plasticity cost <italic>c</italic>, however, affects the plastic species 2 only and <xref ref-type="fig" rid="F7">Figure 7</xref> shows its effect on species coexistence. For the migration probability considered (<italic>p</italic><sub><italic>mig</italic></sub> &#x0003D; 0.3), species 1 cannot prevent invasion (and, consequently, coexistence) but for large <italic>c</italic> species 2 cannot take advantage of the maladaptation of species 1. We note that it is the presence of species 1 that drives species 2 to extinction, since species 2 alone can thrive for large <italic>c</italic> by turning off the plastic alleles (<xref ref-type="fig" rid="F3">Figure 3</xref>). The data missing for <italic>c</italic> &#x0003D; 0.4 is because none of the runs resulted in coexistence.</p>
<fig id="F7" position="float">
<label>Figure 7</label>
<caption><p>Influence of the plasticity cost <italic>c</italic> on species coexistence for the uncorrelated environment. <bold>(A)</bold> Probability of coexistence &#x00393; and probability of coexistence within a patch &#x02329;&#x02329;&#x003A0;&#x0232A;&#x0232A;. <bold>(B)</bold> Mean relative abundances of the non-plastic species &#x02329;&#x02329;<italic>n</italic><sub>1</sub>&#x0232A;&#x0232A; and of the plastic species &#x02329;&#x02329;<italic>n</italic><sub>2</sub>&#x0232A;&#x0232A;. The parameters are <italic>L</italic> &#x0003D; 20, <italic>K</italic><sub><italic>max</italic></sub> &#x0003D; 100, <italic>p</italic><sub><italic>mig</italic></sub> &#x0003D; 0.3, <inline-formula><mml:math id="M68"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>2</mml:mn></mml:math></inline-formula>, and &#x003C1; &#x0003D; 0. The lines connecting the symbols are guides to the eye. The dashed horizontal line is &#x02329;&#x02329;<italic>n</italic><sub>1</sub>&#x0232A;&#x0232A; &#x0003D; 1/<italic>a</italic><sub>21</sub> &#x0003D; 2/3.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fevo-11-1077374-g0007.tif"/>
</fig>
<sec>
<title>3.2.1. Remarks on the simulation halting time, grid size, carrying capacity, and recombination</title>
<p>In our study, we assume that a running time of 2, 000 generations is sufficient to proclaim that the metapopulation dynamics reached equilibrium and hence that coexistence was achieved. Equilibrium population abundances are then evaluated by running the simulations for additional 100 generations when the relevant quantities are stored for averaging purposes. In <xref ref-type="supplementary-material" rid="SM1">Supplementary Figure 12</xref>, we show the time dependence of the relative abundances of both species for typical runs that led to coexistence. The results support our assumption that a halting time of 2, 000 generations is adequate to guarantee the equilibration of the metapopulation. Moreover, the dynamics reveals a most interesting feature of our model: the abundance of plastic species 2 increases much faster than its rival&#x00027;s in the initial generations, so species 2 rapidly colonizes almost the entire environment before it is partly or completely displaced by the non-plastic species 1 (see also <xref ref-type="supplementary-material" rid="SM1">Supplementary Figure 9</xref>).</p>
<p>Our analysis is restricted to a fixed grid size of linear length <italic>L</italic> &#x0003D; 20 and patch carrying capacity <italic>K</italic><sub><italic>max</italic></sub> &#x0003D; 100, which results in a very large carrying capacity for the metapopulation (viz., <inline-formula><mml:math id="M70"><mml:msup><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:msub><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>40</mml:mn><mml:mo>,</mml:mo><mml:mn>000</mml:mn></mml:math></inline-formula>). Nevertheless, in the <xref ref-type="supplementary-material" rid="SM1">Supplementary material</xref>, we present the results for different choices of <italic>L</italic> and <italic>K</italic><sub><italic>max</italic></sub>. In particular, we show that there is practically no difference between the results for <italic>L</italic> &#x0003D; 15 and <italic>L</italic> &#x0003D; 20 (<xref ref-type="supplementary-material" rid="SM1">Supplementary Figures 13, 14</xref>), which indicates that our choice <italic>L</italic> &#x0003D; 20 for the linear dimension of the grid gives a good approximation to the limit of an infinitely large grid. The probability of coexistence &#x00393; and the fraction of patches that harbor the two species &#x02329;&#x02329;&#x003A0;&#x0232A;&#x0232A; increase with patch&#x00027;s carrying capacity <italic>K</italic><sub><italic>max</italic></sub> (<xref ref-type="supplementary-material" rid="SM1">Supplementary Figure 15</xref>), but the mean relative abundances of both species rapidly converge to their asymptotic values (<xref ref-type="supplementary-material" rid="SM1">Supplementary Figure 16</xref>), i.e., the values for <italic>K</italic><sub><italic>max</italic></sub> &#x02192; &#x0221E;. Since in the case of costless plasticity it is the mean relative abundance of species 1 that determines whether within-patch coexistence can take place, these findings indicate that our choice of the grid size and patch carrying capacity probably describes very well the behavior of a very large population in a very large grid.</p>
<p>A limitation of our model is the assumption of asexual reproduction. Nearly all invasive species are sexual and, in the case of plants, highly selfing or clonal which is not the same as being strictly asexual. However, the simulations of asexual populations are much faster and easier to implement and reproduce than for the sexual populations, hence our option for that reproduction mode. In the <xref ref-type="supplementary-material" rid="SM1">Supplementary material</xref>, we offer some results for sexual species (<xref ref-type="supplementary-material" rid="SM1">Supplementary Figure 17</xref>). Recombination favors the non-plastic species 1 in the competition with the plastic species 2. In addition, for low and high mutation probabilities the sexual populations reach equilibrium faster than the asexual populations. But, as expected, the main conclusion of the paper is not affected by the reproduction mode: there is a regime of among-patch coexistence that happens for low migration probabilities that is due to the existence of patches that have too extreme environments for the non-plastic species, and a regime of within-patch coexistence that happens for intermediate migration probabilities, where the species coexist within most patches.</p>
</sec>
<sec>
<title>3.2.2. Simple argument for coexistence</title>
<p>Although our extensive simulations point rather unequivocally to the possibility of coexistence of the two species in a heterogeneous environment, here we offer analytical evidence for that finding. The aim is not only to dismiss suspicion that the observed coexistence is an artifact of our simulations but to complement the simulation results. Since the species at extinction risk&#x02014;the plastic species 2&#x02014;can thrive very well when alone in the patchy environment, the key to coexistence is the ecological competition stage (Section 2.3), so let us look at it more carefully.</p>
<p>First and foremost, we note that Equations (4a) and (4b) are not recursion equations. In fact, the quantities <italic>N</italic><sub>1<italic>i</italic></sub> and <italic>N</italic><sub>2<italic>i</italic></sub> that appear in their right-hand sides are the numbers of survivors of each species in patch <italic>i</italic> after viability selection, whereas the quantities <inline-formula><mml:math id="M71"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="M72"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> that appear in their left-hand sides are the numbers of offspring they bring forth. But only a fraction of these offspring will survive the selection sieve (and hence become adults) and this culling effect is not included in Equations (4a) and (4b). Let us assume that the metapopulation is at equilibrium (see, e.g., <xref ref-type="supplementary-material" rid="SM1">Supplementary Figure 12</xref>). The number of survivors of both species <inline-formula><mml:math id="M73"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mi>q</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="M74"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mi>q</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> at a given patch <italic>i</italic> must satisfy the condition</p>
<disp-formula id="E7"><label>(6)</label><mml:math id="M75"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mn>21</mml:mn></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mi>q</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mn>22</mml:mn></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mi>q</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mo>&#x0003C;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>for the survival of species 2, and the condition</p>
<disp-formula id="E8"><label>(7)</label><mml:math id="M76"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mn>11</mml:mn></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mi>q</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mn>12</mml:mn></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mi>q</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mo>&#x0003C;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>for the survival of species 1. These are necessary conditions for survival of each species in patch <italic>i</italic> as they ensure that the number of offspring will be greater than the number of survivors. (We recall that the number of survivors in a given generation is only a fraction of the number of offspring in the previous generation.) Inequality (6) can be rewritten as</p>
<disp-formula id="E9"><label>(8)</label><mml:math id="M77"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mn>22</mml:mn></mml:mrow></mml:msub><mml:mfrac><mml:mrow><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mi>q</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mo>&#x0003C;</mml:mo><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mn>21</mml:mn></mml:mrow></mml:msub><mml:mfrac><mml:mrow><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mi>q</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>which makes evident the impossibility of an equilibrium scenario where species 2 is present in patch <italic>i</italic> and <inline-formula><mml:math id="M78"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mi>q</mml:mi></mml:mrow></mml:msubsup><mml:mo>/</mml:mo><mml:msub><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0003E;</mml:mo><mml:mn>1</mml:mn><mml:mo>/</mml:mo><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mn>21</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>. Hence, increase of the entry <italic>a</italic><sub>21</sub> decreases the chances of survival of species 2 and hence of coexistence. This is the reason we draw a line at &#x02329;&#x02329;<italic>n</italic><sub>1</sub>&#x0232A;&#x0232A; &#x0003D; 1/<italic>a</italic><sub>21</sub> &#x0003D; 2/3 in the graphs for the relative abundance of species 1: the line delimits the regions where within-patch coexistence is possible. Note that a similar analysis for inequality (7) indicates that species 1 is extinct in patch <italic>i</italic> if <inline-formula><mml:math id="M79"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mi>q</mml:mi></mml:mrow></mml:msubsup><mml:mo>/</mml:mo><mml:msub><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0003E;</mml:mo><mml:mn>1</mml:mn><mml:mo>/</mml:mo><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mn>12</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>2</mml:mn></mml:math></inline-formula>, a condition that is never satisfied in our simulations since <italic>N</italic><sub>2<italic>i</italic></sub> and <italic>N</italic><sub>1<italic>i</italic></sub> are less than <italic>K</italic><sub><italic>max</italic></sub> by construction. Therefore, within-patch coexistence is a possible outcome of the metapopulation dynamics, provided species 1 is locally maladapted in most patches, which is indeed the case for relatively large migration probabilities and environment variances.</p>
<p>However, <xref ref-type="fig" rid="F7">Figure 7B</xref> exhibits a scenario where inequality (6) is satisfied and yet species 2 is extinct. Hence, condition (6) is necessary for survival of species 2, but it is not sufficient. In fact, a necessary and sufficient condition is that the production of offspring compensates the population decrease due to viability selection. For instance, assume that the number of offspring is twice the number of survivors, so condition (6) is satisfied, but that viability selection reduces the population to 1/4 of its size. Starting with 100 survivors, we get 200 offspring, then 50 survivors, then 100 offspring, then 25 survivors, and so on until extinction. This is the situation depicted in <xref ref-type="fig" rid="F7">Figure 7B</xref> for high plasticity costs. A similar argument can explain the possibility of extinction of species 1 as well, despite the fact that inequality (7) is always satisfied. Unfortunately, we cannot express this necessary and sufficient condition in a simple mathematical formula because it involves the viability selection process and hence information on the individuals&#x00027; phenotypes. This point highlights that to take advantage of the unfitness of species 1 in the rugged environment, species 2 must be well-adapted to it, hence the relevance of plasticity in our model.</p>
<p>Finally, we note that increase of the parameter <italic>r</italic> that governs the growth of both species in Equations (4a) and (4b) can be disastrous to species 2. The reason is that, other things being equal, <inline-formula><mml:math id="M80"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mi>q</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> increases with <italic>r</italic> so that the condition <inline-formula><mml:math id="M81"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mi>q</mml:mi></mml:mrow></mml:msubsup><mml:mo>/</mml:mo><mml:msub><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0003E;</mml:mo><mml:mn>1</mml:mn><mml:mo>/</mml:mo><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mn>21</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> that prevents the growth of species 2 can be more easily fulfilled. Of course, the increase in the number of offspring of species 1 resulting from increasing <italic>r</italic> can be compensated by increasing the environment variance <inline-formula><mml:math id="M82"><mml:msubsup><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula>, which reduces their chances of survival.</p>
</sec>
</sec>
</sec>
<sec sec-type="discussion" id="s4">
<title>4. Discussion</title>
<p>Our results challenge predictions from classical ecological theory by showing that a competitively superior species cannot always displace an inferior competitor in absence of niche differentiation and in a standard scenario of density- and frequency-independent viability selection. This conclusion obviously assumes that the ecologically inferior species 2 displays high levels of adaptive phenotypic plasticity (&#x0201C;any plasticity that allows individuals to have higher fitness in the new environment than it would were it not plastic&#x0201D;; Ghalambor et al., <xref ref-type="bibr" rid="B22">2007</xref>, p. 396) and that plasticity can evolve quickly, which means that it harbors abundant genetic variation.</p>
<p>It has been conjectured that greater plasticity is a key mechanism underlying the success of invasive species (Baker, <xref ref-type="bibr" rid="B5">1965</xref>), an idea that has some positive support in plants (Davidson et al., <xref ref-type="bibr" rid="B14">2011</xref>) although there are counterexamples (Godoy et al., <xref ref-type="bibr" rid="B24">2011</xref>). These inconsistent findings could be explained because adaptive plasticity might be a transient state during the invasion of new environments and thereafter disappear due to selection on the intersection of the reaction norm and eventual reduction of the slope, a process often referred to as &#x0201C;genetic assimilation&#x0201D; (Lande, <xref ref-type="bibr" rid="B35">2009</xref>, <xref ref-type="bibr" rid="B36">2015</xref>). The problem with this scenario is that for genetic assimilation to happen a very long time seems to be required if plasticity costs are low (Scheiner and Levis, <xref ref-type="bibr" rid="B57">2021</xref>). In our case, with non-costly phenotypic plasticity the adaptation of species 2 during the colonization stage happens through phenotypic plasticity, i.e., the contribution of the rigid loci in Equation (2) to the adapted phenotype is negligible. In the <xref ref-type="supplementary-material" rid="SM1">Supplementary material</xref>, we test this scenario by assuming that no further migration takes place after the colonization period and find that genetic evolution remained largely irrelevant and no genetic assimilation was detected (see <xref ref-type="supplementary-material" rid="SM1">Supplementary Figure 4</xref>). The reason is that the increase in average fitness was very low to impose any selection on the intersection of the reaction norm (see <xref ref-type="supplementary-material" rid="SM1">Supplementary Figure 5</xref>). However, a different result is observed with costly plasticity, where adaptation after the colonization period results in a strong selective pressure to silence the contribution of the plastic alleles; i.e., genetic assimilation (see <xref ref-type="supplementary-material" rid="SM1">Supplementary Figure 6</xref>). In any case, whether or not an initial greater plasticity during the colonization process confers higher fitness is more contentious, though Davidson et al. (<xref ref-type="bibr" rid="B14">2011</xref>) consider that it is plausible.</p>
<p>Perhaps more controversial is the model&#x00027;s assumption that there is always plenty of genetic variation for plasticity so that populations will be able to adequately track the environment more closely. For instance, there seems to be limited ability for plasticity in thermal tolerance of ectotherms (over 90% of all animals), which should rely on behavioral thermoregulation to avoid overheating risk (Gunderson and Stillman, <xref ref-type="bibr" rid="B27">2015</xref>; see also Sunday et al., <xref ref-type="bibr" rid="B66">2014</xref>; Arnold et al., <xref ref-type="bibr" rid="B4">2019</xref>). Although at spatial scales there is ample information on the genetic evolution of latitudinal clines for thermal-related traits (e.g., Hoffmann et al., <xref ref-type="bibr" rid="B32">2002</xref>; Sgr&#x000F2; et al., <xref ref-type="bibr" rid="B60">2010</xref>; Wallace et al., <xref ref-type="bibr" rid="B73">2014</xref>; Casta&#x000F1;eda et al., <xref ref-type="bibr" rid="B11">2015</xref>), widely distributed Drosophila species do not seem to show higher plasticity for thermal tolerance than those from restricted areas, being their distributions more closely linked to species-specific differences in thermal tolerance limits (Overgaard et al., <xref ref-type="bibr" rid="B46">2011</xref>). However, these conclusions are problematic because they were based on inferences that might grossly underestimate the population consequences of thermal plasticity. Thus, Rezende et al. (<xref ref-type="bibr" rid="B50">2020</xref>) have uncovered a dramatic effect of thermal acclimation in Drosophila, with warm-acclimated flies being able to increase the window for reproduction by nearly 1 month from mid-spring to early summer when compared with their cold-acclimated counterparts. In summary, answers to the important question of why adaptive plasticity is not more commonly observed should consider the heritability of plasticity (generally lower than trait heritability; Scheiner, <xref ref-type="bibr" rid="B53">1993</xref>), the interactions among different traits (e.g., temperature-dependent trade-offs between fitness traits; Svensson et al., <xref ref-type="bibr" rid="B67">2020</xref>), the reliability of habitat-specific cues (Tufto, <xref ref-type="bibr" rid="B68">2000</xref>), and ecological constraints (Valladares et al., <xref ref-type="bibr" rid="B71">2007</xref>; Scheiner, <xref ref-type="bibr" rid="B55">2013</xref>; Snell-Rood and Ehlman, <xref ref-type="bibr" rid="B63">2021</xref>).</p>
<p>We have focused in the situation where both species can simultaneously expand their range, which might not be an unrealistic scenario as range expansions have always occurred in the history of most species (Excoffier et al., <xref ref-type="bibr" rid="B17">2009</xref>), and we are currently witnessing how species&#x00027; range edges are expanding polewards in response to global warming (Mason et al., <xref ref-type="bibr" rid="B40">2015</xref>). The important message here is that a successful invading species does not necessarily need to be ecologically superior to the resident one, it only needs to display some level of not much costly adaptive phenotypic plasticity under environmental conditions that usually vary across space and over time (Yeh and Price, <xref ref-type="bibr" rid="B75">2004</xref>; Richards et al., <xref ref-type="bibr" rid="B51">2006</xref>). Since empirical evidence indicates that costs of plasticity are infrequent or small (Murren et al., <xref ref-type="bibr" rid="B43">2015</xref>), the former conclusion seems to be robust.</p>
<p>Finally, we can only speculate about the empirical relevance of our model. A recent empirical study reports that plasticity can enhance species coexistence by swiftly changing species&#x00027; traits in response to a shift in the competitive environment, which was however assumed to be constant (Hess et al., <xref ref-type="bibr" rid="B31">2022</xref>). It might be interesting to comment on Amarasekare&#x00027;s work on parasitoid coexistence in a spatially structured host&#x02013;multiparasitoid community (Amarasekare, <xref ref-type="bibr" rid="B2">2000a</xref>,<xref ref-type="bibr" rid="B3">b</xref>). The two parasitoid species she studied show asymmetric competition in the laboratory with one species being potentially capable of displacing the other, but both species can coexist in some metapopulations even though the two parasitoids have overlapping niches and compete for a shared limiting resource. She tested whether coexistence could happen via a trade-off between competitive ability and a higher dispersal of the inferior competitor, which could find patches where the superior competitor was absent. Her data showed that this was not the case, but pointed to local interactions as, e.g., density-dependent processes that could ameliorate antagonistic interactions in her study system. However, she did not estimate whether the fitness of egg parasitoids in the patches was differentially altered in the two species depending on the environmental conditions (e.g., temperature) at which individuals developed (Boivin, <xref ref-type="bibr" rid="B7">2010</xref>). In other words, could phenotypic plasticity have played any role in explaining Amarasekare&#x00027;s findings? We do not know, but perhaps this is a hypothesis that has some merit.</p>
</sec>
<sec sec-type="data-availability" id="s5">
<title>Data availability statement</title>
<p>The original contributions presented in the study are included in the article/<xref ref-type="sec" rid="s9">Supplementary material</xref>, further inquiries can be directed to the corresponding author.</p>
</sec>
<sec sec-type="author-contributions" id="s6">
<title>Author contributions</title>
<p>JF and MS developed the concept of the study, were responsible for coding the simulations and model analyses (with input from MM), and wrote the original draft. MM revised the draft. All authors edited and revised the final draft. All authors contributed to the article and approved the submitted version.</p>
</sec>
</body>
<back>
<sec sec-type="funding-information" id="s7">
<title>Funding</title>
<p>JF was supported in part by Grant No. 2020/03041-3, Funda&#x000E7;&#x000E3;o de Amparo &#x000E0; Pesquisa do Estado de S&#x000E3;o Paulo (FAPESP) and by Grant No. 305620/2021-5, Conselho Nacional de Desenvolvimento Cient&#x000ED;fico e Tecnol&#x000F3;gico (CNPq). MM was financed through the cE3c Unit FCT funding project UIDB/BIA/00329/2020. MS was funded by Grants PID2021-127107NB-I00 from Ministerio de Ciencia e Innovaci&#x000F3;n (Spain), 2021 SGR 00526 from Generalitat de Catalunya, and the Distinguished Guest Scientists Fellowship Programme of the Hungarian Academy of Sciences (<ext-link ext-link-type="uri" xlink:href="https://mta.hu">https://mta.hu</ext-link>).</p>
</sec>
<ack><p>This work benefited from discussions and insightful comments from Erol Ak&#x000E7;ay, Benjamin M. Bolker, Harold P. de Vladar, E&#x000F6;rs Szathm&#x000E1;ry, Sam Scheiner, and Laurence Mueller.</p>
</ack>
<sec sec-type="COI-statement" id="conf1">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s8">
<title>Publisher&#x00027;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<sec sec-type="supplementary-material" id="s9">
<title>Supplementary material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fevo.2023.1077374/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fevo.2023.1077374/full#supplementary-material</ext-link></p>
<supplementary-material xlink:href="Data_Sheet_1.pdf" id="SM1" mimetype="application/pdf" xmlns:xlink="http://www.w3.org/1999/xlink"/>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Agrawal</surname> <given-names>A. A.</given-names></name> <name><surname>Laforsch</surname> <given-names>C.</given-names></name> <name><surname>Tollrian</surname> <given-names>R.</given-names></name></person-group> (<year>1999</year>). <article-title>Transgenerational induction of defences in animals and plants</article-title>. <source>Nature</source> <volume>401</volume>, <fpage>60</fpage>&#x02013;<lpage>63</lpage>.</citation>
</ref>
<ref id="B2">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Amarasekare</surname> <given-names>P.</given-names></name></person-group> (<year>2000a</year>). <article-title>Coexistence of competing parasitoids on a patchily distributed host: local vs. spatial mechanisms</article-title>. <source>Ecology</source> <volume>81</volume>, <fpage>1286</fpage>&#x02013;<lpage>1296</lpage>. <pub-id pub-id-type="doi">10.1890/0012-9658(2000)081[1286:COCPOA]2.0.CO;2</pub-id></citation>
</ref>
<ref id="B3">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Amarasekare</surname> <given-names>P.</given-names></name></person-group> (<year>2000b</year>). <article-title>Spatial dynamics in a host-multiparasitoid community</article-title>. <source>J. Anim. Ecol.</source> <volume>69</volume>, <fpage>201</fpage>&#x02013;<lpage>213</lpage>. <pub-id pub-id-type="doi">10.1046/j.1365-2656.2000.00378.x</pub-id></citation>
</ref>
<ref id="B4">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Arnold</surname> <given-names>P. A.</given-names></name> <name><surname>Nicotra</surname> <given-names>A. B.</given-names></name> <name><surname>Kruuk</surname> <given-names>L. E.</given-names></name></person-group> (<year>2019</year>). <article-title>Sparse evidence for selection on phenotypic plasticity in response to temperature</article-title>. <source>Philos. Trans. R. Soc. Lond. B Biol. Sci.</source> <volume>374</volume>, <fpage>20180185</fpage>. <pub-id pub-id-type="doi">10.1098/rstb.2018.0185</pub-id><pub-id pub-id-type="pmid">30966967</pub-id></citation></ref>
<ref id="B5">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Baker</surname> <given-names>H. G.</given-names></name></person-group> (<year>1965</year>). <article-title>&#x0201C;Characteristics and modes of origin of weeds,&#x0201D;</article-title> in <source>The Genetics of Colonizing Species</source>, eds G. L. Stebbins and H. G. Baker (<publisher-loc>New York, NY</publisher-loc>: <publisher-name>Academic Press Inc.</publisher-name>), <fpage>147</fpage>&#x02013;<lpage>172</lpage>.<pub-id pub-id-type="pmid">24700817</pub-id></citation></ref>
<ref id="B6">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Barab&#x000E1;s</surname> <given-names>G.</given-names></name> <name><surname>D&#x00027;Andrea</surname> <given-names>R.</given-names></name> <name><surname>Stump</surname> <given-names>S. M.</given-names></name></person-group> (<year>2018</year>). <article-title>Chesson&#x00027;s coexistence theory</article-title>. <source>Ecol. Monogr.</source> <volume>88</volume>, <fpage>277</fpage>&#x02013;<lpage>303</lpage>. <pub-id pub-id-type="doi">10.1002/ecm.1302</pub-id></citation>
</ref>
<ref id="B7">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Boivin</surname> <given-names>G.</given-names></name></person-group> (<year>2010</year>). <article-title>Phenotypic plasticity and fitness in egg parasitoids</article-title>. <source>Neotrop. Entomol.</source> <volume>39</volume>, <fpage>457</fpage>&#x02013;<lpage>463</lpage>. <pub-id pub-id-type="doi">10.1590/S1519-566X2010000400001</pub-id><pub-id pub-id-type="pmid">20877978</pub-id></citation></ref>
<ref id="B8">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bolnick</surname> <given-names>D. I.</given-names></name> <name><surname>Amarasekare</surname> <given-names>P.</given-names></name> <name><surname>Ara&#x000FA;jo</surname> <given-names>M. S.</given-names></name> <name><surname>B&#x000FC;rger</surname> <given-names>R.</given-names></name> <name><surname>Levine</surname> <given-names>J. M.</given-names></name> <name><surname>Novak</surname> <given-names>M.</given-names></name> <etal/></person-group>. (<year>2011</year>). <article-title>Why intraspecific trait variation matters in community ecology</article-title>. <source>Trends Ecol. Evol.</source> <volume>26</volume>, <fpage>183</fpage>&#x02013;<lpage>192</lpage>. <pub-id pub-id-type="doi">10.1016/j.tree.2011.01.009</pub-id><pub-id pub-id-type="pmid">21367482</pub-id></citation></ref>
<ref id="B9">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bradshaw</surname> <given-names>A. D.</given-names></name></person-group> (<year>1965</year>). <article-title>Evolutionary significance of phenotypic plasticity in plants</article-title>. <source>Adv. Genet.</source> <volume>13</volume>, <fpage>115</fpage>&#x02013;<lpage>155</lpage>.</citation>
</ref>
<ref id="B10">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Calcagno</surname> <given-names>V.</given-names></name> <name><surname>Mouquet</surname> <given-names>N.</given-names></name> <name><surname>Jarne</surname> <given-names>P.</given-names></name> <name><surname>David</surname> <given-names>P.</given-names></name></person-group> (<year>2006</year>). <article-title>Coexistence in a metacommunity: the competition-colonization trade-off is not dead</article-title>. <source>Ecol. Lett.</source> <volume>9</volume>, <fpage>897</fpage>&#x02013;<lpage>907</lpage>. <pub-id pub-id-type="doi">10.1111/j.1461-0248.2006.00930.x</pub-id><pub-id pub-id-type="pmid">16913930</pub-id></citation></ref>
<ref id="B11">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Casta&#x000F1;eda</surname> <given-names>L. E.</given-names></name> <name><surname>Rezende</surname> <given-names>E. L.</given-names></name> <name><surname>Santos</surname> <given-names>M.</given-names></name></person-group> (<year>2015</year>). <article-title>Heat tolerance in drosophila subobscura along a latitudinal gradient: contrasting patterns between plastic and genetic responses</article-title>. <source>Evolution</source> <volume>69</volume>, <fpage>2721</fpage>&#x02013;<lpage>2734</lpage>. <pub-id pub-id-type="doi">10.1111/evo.12757</pub-id><pub-id pub-id-type="pmid">26292981</pub-id></citation></ref>
<ref id="B12">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Christiansen</surname> <given-names>F. B.</given-names></name></person-group> (<year>1975</year>). <article-title>Hard and soft selection in a subdivided population</article-title>. <source>Am. Nat.</source> <volume>109</volume>, <fpage>11</fpage>&#x02013;<lpage>16</lpage>.</citation>
</ref>
<ref id="B13">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Crow</surname> <given-names>J. F.</given-names></name></person-group> (<year>1958</year>). <article-title>Some possibilities for measuring selection intensities in man</article-title>. <source>Hum. Biol.</source> <volume>30</volume>, <fpage>1</fpage>&#x02013;<lpage>13</lpage>.<pub-id pub-id-type="pmid">2699600</pub-id></citation></ref>
<ref id="B14">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Davidson</surname> <given-names>A. M.</given-names></name> <name><surname>Jennions</surname> <given-names>M.</given-names></name> <name><surname>Nicotra</surname> <given-names>A. B.</given-names></name></person-group> (<year>2011</year>). <article-title>Do invasive species show higher phenotypic plasticity than native species and, if so, is it adaptive? a meta-analysis</article-title>. <source>Ecol. Lett.</source> <volume>14</volume>, <fpage>419</fpage>&#x02013;<lpage>431</lpage>. <pub-id pub-id-type="doi">10.1111/j.1461-0248.2011.01596.x</pub-id><pub-id pub-id-type="pmid">21314880</pub-id></citation></ref>
<ref id="B15">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>DeWitt</surname> <given-names>T. J.</given-names></name> <name><surname>Sih</surname> <given-names>A.</given-names></name> <name><surname>Wilson</surname> <given-names>D. S.</given-names></name></person-group> (<year>1998</year>). <article-title>Costs and limits of phenotypic plasticity</article-title>. <source>Trends Ecol. Evol.</source> <volume>13</volume>, <fpage>77</fpage>&#x02013;<lpage>81</lpage>.</citation>
</ref>
<ref id="B16">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Doebeli</surname> <given-names>M.</given-names></name></person-group> (<year>1996</year>). <article-title>An explicit genetic model for ecological character displacement</article-title>. <source>Ecology</source> <volume>77</volume>, <fpage>510</fpage>&#x02013;<lpage>520</lpage>.</citation>
</ref>
<ref id="B17">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Excoffier</surname> <given-names>L.</given-names></name> <name><surname>Foll</surname> <given-names>M.</given-names></name> <name><surname>Petit</surname> <given-names>R. J.</given-names></name></person-group> (<year>2009</year>). <article-title>Genetic consequences of range expansions</article-title>. <source>Annu. Rev. Ecol. Evol. Syst.</source> <volume>40</volume>, <fpage>481</fpage>&#x02013;<lpage>501</lpage>. <pub-id pub-id-type="doi">10.1146/annurev.ecolsys.39.110707.173414</pub-id></citation>
</ref>
<ref id="B18">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fischer</surname> <given-names>B. B.</given-names></name> <name><surname>Kwiatkowski</surname> <given-names>M.</given-names></name> <name><surname>Ackermann</surname> <given-names>M.</given-names></name> <name><surname>Krismer</surname> <given-names>J.</given-names></name> <name><surname>Roffler</surname> <given-names>S.</given-names></name> <name><surname>Suter</surname> <given-names>M. J. F.</given-names></name> <etal/></person-group>. (<year>2014</year>). <article-title>Phenotypic plasticity influences the eco- evolutionary dynamics of a predator-prey system</article-title>. <source>Ecology</source> <volume>95</volume>, <fpage>3080</fpage>&#x02013;<lpage>3092</lpage>. <pub-id pub-id-type="doi">10.1890/14-0116.1</pub-id></citation>
</ref>
<ref id="B19">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Franco</surname> <given-names>C.</given-names></name> <name><surname>Fontanari</surname> <given-names>J. F.</given-names></name></person-group> (<year>2017</year>). <article-title>The spatial dynamics of ecosystem engineers</article-title>. <source>Math. Biosci.</source> <volume>292</volume>, <fpage>76</fpage>&#x02013;<lpage>85</lpage>. <pub-id pub-id-type="doi">10.1016/j.mbs.2017.08.002</pub-id><pub-id pub-id-type="pmid">28802892</pub-id></citation></ref>
<ref id="B20">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Franco</surname> <given-names>M.</given-names></name> <name><surname>Silvertown</surname> <given-names>J.</given-names></name></person-group> (<year>2004</year>). <article-title>Comparative demography of plants based upon elasticities of vital rates</article-title>. <source>Ecology</source> <volume>85</volume>, <fpage>531</fpage>&#x02013;<lpage>538</lpage>. <pub-id pub-id-type="doi">10.1890/02-0651</pub-id></citation>
</ref>
<ref id="B21">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Frazier</surname> <given-names>M. R.</given-names></name> <name><surname>Huey</surname> <given-names>R. B.</given-names></name> <name><surname>Berrigan</surname> <given-names>D.</given-names></name></person-group> (<year>2006</year>). <article-title>Thermodynamics constrains the evolution of insect population growth rates: &#x0201C;warmer is better&#x0201D;</article-title>. <source>Am. Nat.</source> <volume>168</volume>, <fpage>512</fpage>&#x02013;<lpage>520</lpage>. <pub-id pub-id-type="doi">10.1086/506977</pub-id><pub-id pub-id-type="pmid">17004222</pub-id></citation></ref>
<ref id="B22">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ghalambor</surname> <given-names>C. K.</given-names></name> <name><surname>McKay</surname> <given-names>J. K.</given-names></name> <name><surname>Carroll</surname> <given-names>S. P.</given-names></name> <name><surname>Reznick</surname> <given-names>D. N.</given-names></name></person-group> (<year>2007</year>). <article-title>Adaptive versus non-adaptive phenotypic plasticity and the potential for contemporary adaptation in new environments</article-title>. <source>Funct. Ecol.</source> <volume>21</volume>, <fpage>394</fpage>&#x02013;<lpage>407</lpage>. <pub-id pub-id-type="doi">10.1111/j.1365-2435.2007.01283.x</pub-id></citation>
</ref>
<ref id="B23">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Godfray</surname> <given-names>H. C. J.</given-names></name> <name><surname>Cook</surname> <given-names>L. M.</given-names></name> <name><surname>Hasell</surname> <given-names>M. P.</given-names></name></person-group> (<year>1991</year>). <article-title>&#x0201C;Population dynamics, natural selection and chaos,&#x0201D;</article-title> in <source>Genes in Ecology</source>, eds R. T. Berry, T. J. Crawford, and G. M. Hewitt (<publisher-loc>Oxford</publisher-loc>: <publisher-name>Blackwell Scientific Publications</publisher-name>), <fpage>55</fpage>&#x02013;<lpage>86</lpage>.</citation>
</ref>
<ref id="B24">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Godoy</surname> <given-names>O.</given-names></name> <name><surname>Valladares</surname> <given-names>F.</given-names></name> <name><surname>Castro-D&#x000ED;ez</surname> <given-names>P.</given-names></name></person-group> (<year>2011</year>). <article-title>Multispecies comparison reveals that invasive and native plants differ in their traits but not in their plasticity</article-title>. <source>Funct. Ecol.</source> <volume>25</volume>, <fpage>1248</fpage>&#x02013;<lpage>1259</lpage>. <pub-id pub-id-type="doi">10.1111/j.1365-2435.2011.01886.x</pub-id><pub-id pub-id-type="pmid">26045946</pub-id></citation></ref>
<ref id="B25">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>G&#x000F3;mez-Llano</surname> <given-names>M.</given-names></name> <name><surname>Germain</surname> <given-names>R. M.</given-names></name> <name><surname>Kyogoku</surname> <given-names>D.</given-names></name> <name><surname>McPeek</surname> <given-names>M. A.</given-names></name> <name><surname>Siepielski</surname> <given-names>A. M.</given-names></name></person-group> (<year>2021</year>). <article-title>When ecology fails: how reproductive interactions promote species coexistence</article-title>. <source>Trends Ecol. Evol.</source> <volume>36</volume>, <fpage>610</fpage>&#x02013;<lpage>622</lpage>. <pub-id pub-id-type="doi">10.1016/j.tree.2021.03.003</pub-id><pub-id pub-id-type="pmid">33785182</pub-id></citation></ref>
<ref id="B26">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gomulkiewicz</surname> <given-names>R.</given-names></name> <name><surname>Kirkpatrick</surname> <given-names>M.</given-names></name></person-group> (<year>1992</year>). <article-title>Quantitative genetics and the evolution of reaction norms</article-title>. <source>Evolution</source> <volume>46</volume>, <fpage>390</fpage>&#x02013;<lpage>411</lpage>.<pub-id pub-id-type="pmid">28564020</pub-id></citation></ref>
<ref id="B27">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gunderson</surname> <given-names>A. R.</given-names></name> <name><surname>Stillman</surname> <given-names>J. H.</given-names></name></person-group> (<year>2015</year>). <article-title>Plasticity in thermal tolerance has limited potential to buffer ectotherms from global warming</article-title>. <source>Proc. R. Soc. B</source> <volume>282</volume>, <fpage>20150401</fpage>. <pub-id pub-id-type="doi">10.1098/rspb.2015.0401</pub-id><pub-id pub-id-type="pmid">25994676</pub-id></citation></ref>
<ref id="B28">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hassell</surname> <given-names>M. P.</given-names></name> <name><surname>Miramontes</surname> <given-names>O.</given-names></name> <name><surname>Rohani</surname> <given-names>P.</given-names></name> <name><surname>May</surname> <given-names>R. M.</given-names></name></person-group> (<year>1995</year>). <article-title>Appropriate formulations for dispersal in spatially structured models: comments on bascompte and sol&#x000E9;</article-title>. <source>J. Anim. Ecol.</source> <volume>64</volume>, <fpage>662</fpage>&#x02013;<lpage>664</lpage>.</citation>
</ref>
<ref id="B29">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hastings</surname> <given-names>A.</given-names></name></person-group> (<year>1980</year>). <article-title>Disturbance, coexistence, history, and competition for space</article-title>. <source>Theor. Popul. Biol.</source> <volume>18</volume>, <fpage>363</fpage>&#x02013;<lpage>373</lpage>.</citation>
</ref>
<ref id="B30">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Hendry</surname> <given-names>A. P.</given-names></name></person-group> (<year>2017</year>). <source>Eco-evolutionary Dynamics</source>. <publisher-loc>Princeton, NJ</publisher-loc>: <publisher-name>Princeton University Press</publisher-name>.</citation>
</ref>
<ref id="B31">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hess</surname> <given-names>C.</given-names></name> <name><surname>Levine</surname> <given-names>J. M.</given-names></name> <name><surname>Turcotte</surname> <given-names>M. M.</given-names></name> <name><surname>Hart</surname> <given-names>S. P.</given-names></name></person-group> (<year>2022</year>). <article-title>Phenotypic plasticity promotes species coexistence</article-title>. <source>Nat. Ecol. Evol.</source> <volume>6</volume>, <fpage>1256</fpage>&#x02013;<lpage>1261</lpage>. <pub-id pub-id-type="doi">10.1038/s41559-022-01826-8</pub-id><pub-id pub-id-type="pmid">35927317</pub-id></citation></ref>
<ref id="B32">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hoffmann</surname> <given-names>A. A.</given-names></name> <name><surname>Anderson</surname> <given-names>A.</given-names></name> <name><surname>Hallas</surname> <given-names>R.</given-names></name></person-group> (<year>2002</year>). <article-title>Opposing clines for high and low temperature resistance in drosophila melanogaster</article-title>. <source>Ecol. Lett.</source> <volume>5</volume>, <fpage>614</fpage>&#x02013;<lpage>618</lpage>. <pub-id pub-id-type="doi">10.1046/j.1461-0248.2002.00367.x</pub-id><pub-id pub-id-type="pmid">12634827</pub-id></citation></ref>
<ref id="B33">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kawecki</surname> <given-names>T. J.</given-names></name> <name><surname>Ebert</surname> <given-names>D.</given-names></name></person-group> (<year>2004</year>). <article-title>Conceptual issues in local adaptation</article-title>. <source>Ecol. Lett.</source> <volume>7</volume>, <fpage>1225</fpage>&#x02013;<lpage>1241</lpage>. <pub-id pub-id-type="doi">10.1111/j.1461-0248.2004.00684.x</pub-id></citation>
</ref>
<ref id="B34">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kimura</surname> <given-names>M.</given-names></name></person-group> (<year>1965</year>). <article-title>A stochastic model concerning the maintenance of genetic variability in quantitative characters</article-title>. <source>Proc. Natl. Acad. Sci. U.S.A.</source> <volume>54</volume>, <fpage>731</fpage>&#x02013;<lpage>736</lpage>.<pub-id pub-id-type="pmid">5217452</pub-id></citation></ref>
<ref id="B35">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lande</surname> <given-names>R.</given-names></name></person-group> (<year>2009</year>). <article-title>Adaptation to an extraordinary environment by evolution of phenotypic plasticity and genetic assimilation</article-title>. <source>J. Evol. Biol.</source> <volume>22</volume>, <fpage>1435</fpage>&#x02013;<lpage>1446</lpage>. <pub-id pub-id-type="doi">10.1111/j.1420-9101.2009.01754.x</pub-id><pub-id pub-id-type="pmid">19467134</pub-id></citation></ref>
<ref id="B36">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lande</surname> <given-names>R.</given-names></name></person-group> (<year>2015</year>). <article-title>Evolution of phenotypic plasticity in colonizing species</article-title>. <source>Mol. Ecol.</source> <volume>24</volume>, <fpage>2038</fpage>&#x02013;<lpage>2045</lpage>. <pub-id pub-id-type="doi">10.1111/mec.13037</pub-id><pub-id pub-id-type="pmid">25558898</pub-id></citation></ref>
<ref id="B37">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Levin</surname> <given-names>S. A.</given-names></name></person-group> (<year>1974</year>). <article-title>Dispersion and population interactions</article-title>. <source>Am. Nat.</source> <volume>108</volume>, <fpage>207</fpage>&#x02013;<lpage>228</lpage>.</citation>
</ref>
<ref id="B38">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Levins</surname> <given-names>R.</given-names></name></person-group> (<year>1969</year>). <article-title>Some demographic and genetic consequences of environmental heterogeneity for biological control</article-title>. <source>Bull. Entomol. Soc. Am.</source> <volume>15</volume>, <fpage>237</fpage>&#x02013;<lpage>240</lpage>.</citation>
</ref>
<ref id="B39">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Macarthur</surname> <given-names>R. H.</given-names></name> <name><surname>Levins</surname> <given-names>R.</given-names></name></person-group> (<year>1967</year>). <article-title>The limiting similarity, convergence, and divergence of coexisting species</article-title>. <source>Am. Nat.</source> <volume>101</volume>, <fpage>377</fpage>&#x02013;<lpage>385</lpage>.</citation>
</ref>
<ref id="B40">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mason</surname> <given-names>S. C.</given-names></name> <name><surname>Palmer</surname> <given-names>G.</given-names></name> <name><surname>Fox</surname> <given-names>R.</given-names></name> <name><surname>Gillings</surname> <given-names>S.</given-names></name> <name><surname>Hill</surname> <given-names>J. K.</given-names></name> <name><surname>Thomas</surname> <given-names>C. D.</given-names></name> <etal/></person-group>. (<year>2015</year>). <article-title>Geographical range margins of many taxonomic groups continue to shift polewards</article-title>. <source>Biol. J. Linnean Soc.</source> <volume>115</volume>, <fpage>586</fpage>&#x02013;<lpage>597</lpage>. <pub-id pub-id-type="doi">10.1111/bij.12574</pub-id></citation>
</ref>
<ref id="B41">
<citation citation-type="book"><person-group person-group-type="author"><collab>MATLAB</collab></person-group> (<year>2020</year>). <source>Version 9.9 (R2020b)</source>. <publisher-loc>Natick, MA</publisher-loc>: <publisher-name>The MathWorks Inc</publisher-name>.</citation>
</ref>
<ref id="B42">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Miller</surname> <given-names>M. B.</given-names></name> <name><surname>Bassler</surname> <given-names>B. L.</given-names></name></person-group> (<year>2001</year>). <article-title>Quorum sensing in bacteria</article-title>. <source>Annu. Rev. Microbiol.</source> <volume>55</volume>, <fpage>165</fpage>&#x02013;<lpage>199</lpage>. <pub-id pub-id-type="doi">10.1146/annurev.micro.55.1.165</pub-id><pub-id pub-id-type="pmid">11544353</pub-id></citation></ref>
<ref id="B43">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Murren</surname> <given-names>C. J.</given-names></name> <name><surname>Auld</surname> <given-names>J. R.</given-names></name> <name><surname>Callahan</surname> <given-names>H.</given-names></name> <name><surname>Ghalambor</surname> <given-names>C. K.</given-names></name> <name><surname>Handelsman</surname> <given-names>C. A.</given-names></name> <name><surname>Heskel</surname> <given-names>M. A.</given-names></name> <etal/></person-group>. (<year>2015</year>). <article-title>Constraints on the evolution of phenotypic plasticity: limits and costs of phenotype and plasticity</article-title>. <source>Heredity</source> <volume>115</volume>, <fpage>293</fpage>&#x02013;<lpage>301</lpage>. <pub-id pub-id-type="doi">10.1038/hdy.2015.8</pub-id><pub-id pub-id-type="pmid">25690179</pub-id></citation></ref>
<ref id="B44">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Muthukrishnan</surname> <given-names>R.</given-names></name> <name><surname>Sullivan</surname> <given-names>L. L.</given-names></name> <name><surname>Shaw</surname> <given-names>A. K.</given-names></name> <name><surname>Forester</surname> <given-names>J. D.</given-names></name></person-group> (<year>2020</year>). <article-title>Trait plasticity alters the range of possible coexistence conditions in a competition-colonisation trade-off</article-title>. <source>Ecol. Lett.</source> <volume>23</volume>, <fpage>791</fpage>&#x02013;<lpage>799</lpage>. <pub-id pub-id-type="doi">10.1111/ele.13477</pub-id><pub-id pub-id-type="pmid">32086876</pub-id></citation></ref>
<ref id="B45">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Nee</surname> <given-names>S.</given-names></name> <name><surname>May</surname> <given-names>R. M.</given-names></name></person-group> (<year>1992</year>). <article-title>Dynamics of metapopulations: habitat destruction and competitive coexistence</article-title>. <source>J. Anim. Ecol.</source> <volume>61</volume>, <fpage>37</fpage>&#x02013;<lpage>40</lpage>.</citation>
</ref>
<ref id="B46">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Overgaard</surname> <given-names>J.</given-names></name> <name><surname>Kristensen</surname> <given-names>T. N.</given-names></name> <name><surname>Mitchell</surname> <given-names>K. A.</given-names></name> <name><surname>Hoffmann</surname> <given-names>A. A.</given-names></name></person-group> (<year>2011</year>). <article-title>Thermal tolerance in widespread and tropical drosophila species: does phenotypic plasticity increase with latitude?</article-title> <source>Am. Nat.</source> <volume>178</volume>, <fpage>S80</fpage>&#x02013;<lpage>S96</lpage>. <pub-id pub-id-type="doi">10.1086/661780</pub-id><pub-id pub-id-type="pmid">21956094</pub-id></citation></ref>
<ref id="B47">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>P&#x000E1;sztor</surname> <given-names>L.</given-names></name> <name><surname>Botta-Duk&#x000E1;t</surname> <given-names>Z.</given-names></name> <name><surname>Magyar</surname> <given-names>G.</given-names></name> <name><surname>Cz&#x000E1;r&#x000E1;n</surname> <given-names>T.</given-names></name> <name><surname>Mesz&#x000E9;na</surname> <given-names>G.</given-names></name></person-group> (<year>2006</year>). <source>Theory-Based Ecology: A Darwinian Approach</source>. <publisher-loc>Oxford</publisher-loc>: <publisher-name>Oxford University Press</publisher-name>.</citation>
</ref>
<ref id="B48">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>P&#x000E9;rez-Ramos</surname> <given-names>I. M.</given-names></name> <name><surname>Mat&#x000ED;as</surname> <given-names>L.</given-names></name> <name><surname>G&#x000F3;mez-Aparicio</surname> <given-names>L.</given-names></name> <name><surname>Godoy</surname> <given-names>&#x000D3;.</given-names></name></person-group> (<year>2019</year>). <article-title>Functional traits and phenotypic plasticity modulate species coexistence across contrasting climatic conditions</article-title>. <source>Nat. Commun.</source> <volume>10</volume>, <fpage>2555</fpage>. <pub-id pub-id-type="doi">10.1038/s41467-019-10453-0</pub-id><pub-id pub-id-type="pmid">31186418</pub-id></citation></ref>
<ref id="B49">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Pfennig</surname> <given-names>D. W.</given-names></name></person-group> (<year>2021</year>). <article-title>&#x0201C;Key questions about phenotypic plasticity,&#x0201D;</article-title> in <source>Phenotypic Plasticity and Evolution: Causes, Consequences, Controversies</source>, ed D. W. Pfennig (<publisher-loc>Boca Raton, FL</publisher-loc>: <publisher-name>CRC Press</publisher-name>), <fpage>55</fpage>&#x02013;<lpage>88</lpage>.<pub-id pub-id-type="pmid">26297912</pub-id></citation></ref>
<ref id="B50">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rezende</surname> <given-names>E. L.</given-names></name> <name><surname>Bozinovic</surname> <given-names>F.</given-names></name> <name><surname>Szil&#x000E1;gyi</surname> <given-names>A.</given-names></name> <name><surname>Santos</surname> <given-names>M.</given-names></name></person-group> (<year>2020</year>). <article-title>Predicting temperature mortality and selection in natural drosophila populations</article-title>. <source>Science</source> <volume>369</volume>, <fpage>1242</fpage>&#x02013;<lpage>1245</lpage>. <pub-id pub-id-type="doi">10.1126/science.aba9287</pub-id><pub-id pub-id-type="pmid">32883867</pub-id></citation></ref>
<ref id="B51">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Richards</surname> <given-names>C. L.</given-names></name> <name><surname>Bossdorf</surname> <given-names>O.</given-names></name> <name><surname>Muth</surname> <given-names>N. Z.</given-names></name> <name><surname>Gurevitch</surname> <given-names>J.</given-names></name> <name><surname>Pigliucci</surname> <given-names>M.</given-names></name></person-group> (<year>2006</year>). <article-title>Jack of all trades, master of some? On the role of phenotypic plasticity in plant invasions</article-title>. <source>Ecol. Lett.</source> <volume>9</volume>, <fpage>981</fpage>&#x02013;<lpage>993</lpage>. <pub-id pub-id-type="doi">10.1111/j.1461-0248.2006.00950.x</pub-id><pub-id pub-id-type="pmid">16913942</pub-id></citation></ref>
<ref id="B52">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ricker</surname> <given-names>W. E.</given-names></name></person-group> (<year>1954</year>). <article-title>Stock and recruitment</article-title>. <source>J. Fish. Res. Board Can.</source> <volume>11</volume>, <fpage>559</fpage>&#x02013;<lpage>623</lpage>.</citation>
</ref>
<ref id="B53">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Scheiner</surname> <given-names>S. M.</given-names></name></person-group> (<year>1993</year>). <article-title>Genetics and evolution of phenotypic plasticity</article-title>. <source>Annu. Rev. Ecol. Evol. Syst.</source> <volume>24</volume>, <fpage>35</fpage>&#x02013;<lpage>68</lpage>.</citation>
</ref>
<ref id="B54">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Scheiner</surname> <given-names>S. M.</given-names></name></person-group> (<year>1998</year>). <article-title>The genetics of phenotypic plasticity. VII. Evolution in a spatially-structured environment</article-title>. <source>J. Evol. Biol.</source> <volume>11</volume>, <fpage>303</fpage>&#x02013;<lpage>320</lpage>.</citation>
</ref>
<ref id="B55">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Scheiner</surname> <given-names>S. M.</given-names></name></person-group> (<year>2013</year>). <article-title>The genetics of phenotypic plasticity. XII. Temporal and spatial heterogeneity</article-title>. <source>Ecol. Evol.</source> <volume>3</volume>, <fpage>4596</fpage>&#x02013;<lpage>4609</lpage>. <pub-id pub-id-type="doi">10.1002/ece3.792</pub-id><pub-id pub-id-type="pmid">24340198</pub-id></citation></ref>
<ref id="B56">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Scheiner</surname> <given-names>S. M.</given-names></name> <name><surname>Barfield</surname> <given-names>M.</given-names></name> <name><surname>Holt</surname> <given-names>R. D.</given-names></name></person-group> (<year>2020</year>). <article-title>The genetics of phenotypic plasticity. XVII. Response to climate change</article-title>. <source>Evol. Appl.</source> <volume>13</volume>, <fpage>388</fpage>&#x02013;<lpage>399</lpage>. <pub-id pub-id-type="doi">10.1111/eva.12876</pub-id><pub-id pub-id-type="pmid">31993084</pub-id></citation></ref>
<ref id="B57">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Scheiner</surname> <given-names>S. M.</given-names></name> <name><surname>Levis</surname> <given-names>N. A.</given-names></name></person-group> (<year>2021</year>). <article-title>&#x0201C;The loss of phenotypic plasticity via natural selection: genetic assimilation,&#x0201D;</article-title> in <source>Phenotypic Plasticity and Evolution: Causes, Consequences, Controversies</source>, ed D. W. Pfennig (<publisher-loc>Boca Raton, FL</publisher-loc>: <publisher-name>CRC Press</publisher-name>), <fpage>161</fpage>&#x02013;<lpage>181</lpage>.</citation>
</ref>
<ref id="B58">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Schlichting</surname> <given-names>C. D.</given-names></name></person-group> (<year>1986</year>). <article-title>The evolution of phenotypic plasticity in plants</article-title>. <source>Annu. Rev. Ecol. Evol. Syst.</source> <volume>17</volume>, <fpage>667</fpage>&#x02013;<lpage>693</lpage>.</citation>
</ref>
<ref id="B59">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Schoener</surname> <given-names>T. W.</given-names></name> <name><surname>Spiller</surname> <given-names>D. A.</given-names></name></person-group> (<year>1987</year>). <article-title>High population persistence in a system with high turnover</article-title>. <source>Nature</source> <volume>330</volume>, <fpage>474</fpage>&#x02013;<lpage>477</lpage>.</citation>
</ref>
<ref id="B60">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sgr&#x000F2;</surname> <given-names>C. M.</given-names></name> <name><surname>Overgaard</surname> <given-names>J.</given-names></name> <name><surname>Kristensen</surname> <given-names>T. N.</given-names></name> <name><surname>Mitchell</surname> <given-names>K. A.</given-names></name> <name><surname>Cockerell</surname> <given-names>F. E.</given-names></name> <name><surname>Hoffmann</surname> <given-names>A. A.</given-names></name></person-group> (<year>2010</year>). <article-title>A comprehensive assessment of geographic variation in heat tolerance and hardening capacity in populations of drosophila melanogaster from eastern australia</article-title>. <source>J. Evol. Biol.</source> <volume>23</volume>, <fpage>2484</fpage>&#x02013;<lpage>2493</lpage>. <pub-id pub-id-type="doi">10.1111/j.1420-9101.2010.02110.x</pub-id><pub-id pub-id-type="pmid">20874849</pub-id></citation></ref>
<ref id="B61">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Slatkin</surname> <given-names>M.</given-names></name></person-group> (<year>1974</year>). <article-title>Competition and regional coexistence</article-title>. <source>Ecology</source> <volume>55</volume>, <fpage>128</fpage>&#x02013;<lpage>134</lpage>.</citation>
</ref>
<ref id="B62">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Slatkin</surname> <given-names>M.</given-names></name></person-group> (<year>1980</year>). <article-title>Ecological character displacement</article-title>. <source>Ecology</source> <volume>61</volume>, <fpage>163</fpage>&#x02013;<lpage>177</lpage>.</citation>
</ref>
<ref id="B63">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Snell-Rood</surname> <given-names>E. C.</given-names></name> <name><surname>Ehlman</surname> <given-names>S. M.</given-names></name></person-group> (<year>2021</year>). <article-title>&#x0201C;Ecology and evolution of plasticity,&#x0201D;</article-title> in <source>Phenotypic Plasticity and Evolution: Causes, Consequences, Controversies</source>, ed D. W. Pfennig (<publisher-loc>Boca Raton, FL</publisher-loc>: <publisher-name>CRC Press</publisher-name>), <fpage>139</fpage>&#x02013;<lpage>160</lpage>.</citation>
</ref>
<ref id="B64">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sommer</surname> <given-names>R. J.</given-names></name></person-group> (<year>2020</year>). <article-title>Phenotypic plasticity: from theory and genetics to current and future challenges</article-title>. <source>Genetics</source> <volume>215</volume>, <fpage>1</fpage>&#x02013;<lpage>13</lpage>. <pub-id pub-id-type="doi">10.1534/genetics.120.303163</pub-id><pub-id pub-id-type="pmid">32371438</pub-id></citation></ref>
<ref id="B65">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Start</surname> <given-names>D.</given-names></name></person-group> (<year>2020</year>). <article-title>Phenotypic plasticity and community composition interactively shape trophic interactions</article-title>. <source>Oikos</source> <volume>129</volume>, <fpage>1163</fpage>&#x02013;<lpage>1173</lpage>. <pub-id pub-id-type="doi">10.1111/oik.07194</pub-id></citation>
</ref>
<ref id="B66">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sunday</surname> <given-names>J. M.</given-names></name> <name><surname>Bates</surname> <given-names>A. E.</given-names></name> <name><surname>Kearney</surname> <given-names>M. R.</given-names></name> <name><surname>Colwell</surname> <given-names>R. K.</given-names></name> <name><surname>Dulvy</surname> <given-names>N. K.</given-names></name> <name><surname>Longino</surname> <given-names>J. T.</given-names></name> <etal/></person-group>. (<year>2014</year>). <article-title>Thermal-safety margins and the necessity of thermoregulatory behavior across latitude and elevation</article-title>. <source>Proc. Natl. Acad. Sci. U.S.A.</source> <volume>111</volume>, <fpage>5610</fpage>&#x02013;<lpage>5615</lpage>. <pub-id pub-id-type="doi">10.1073/pnas.1316145111</pub-id><pub-id pub-id-type="pmid">24616528</pub-id></citation></ref>
<ref id="B67">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Svensson</surname> <given-names>E. I.</given-names></name> <name><surname>Gomez-Llano</surname> <given-names>M.</given-names></name> <name><surname>Waller</surname> <given-names>J. T.</given-names></name></person-group> (<year>2020</year>). <article-title>Selection on phenotypic plasticity favors thermal canalization</article-title>. <source>Proc. Natl. Acad. Sci. U.S.A.</source> <volume>117</volume>, <fpage>29767</fpage>&#x02013;<lpage>29774</lpage>. <pub-id pub-id-type="doi">10.1073/pnas.2012454117</pub-id><pub-id pub-id-type="pmid">33168720</pub-id></citation></ref>
<ref id="B68">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tufto</surname> <given-names>J.</given-names></name></person-group> (<year>2000</year>). <article-title>The evolution of plasticity and nonplastic spatial and temporal adaptations in the presence of imperfect environmental cues</article-title>. <source>Am. Nat.</source> <volume>156</volume>, <fpage>121</fpage>&#x02013;<lpage>130</lpage>. <pub-id pub-id-type="doi">10.1086/303381</pub-id><pub-id pub-id-type="pmid">10856196</pub-id></citation></ref>
<ref id="B69">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Turcotte</surname> <given-names>M. M.</given-names></name> <name><surname>Levine</surname> <given-names>J. M.</given-names></name></person-group> (<year>2016</year>). <article-title>Phenotypic plasticity and species coexistence</article-title>. <source>Trends Ecol. Evol.</source> <volume>31</volume>, <fpage>803</fpage>&#x02013;<lpage>813</lpage>. <pub-id pub-id-type="doi">10.1016/j.tree.2016.07.013</pub-id><pub-id pub-id-type="pmid">27527257</pub-id></citation></ref>
<ref id="B70">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Uller</surname> <given-names>T.</given-names></name></person-group> (<year>2008</year>). <article-title>Developmental plasticity and the evolution of parental effects</article-title>. <source>Trends Ecol. Evol.</source> <volume>23</volume>, <fpage>432</fpage>&#x02013;<lpage>438</lpage>. <pub-id pub-id-type="doi">10.1016/j.tree.2008.04.005</pub-id><pub-id pub-id-type="pmid">18586350</pub-id></citation></ref>
<ref id="B71">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Valladares</surname> <given-names>F.</given-names></name> <name><surname>Gianoli</surname> <given-names>E.</given-names></name> <name><surname>G&#x000F3;mez</surname> <given-names>J. M.</given-names></name></person-group> (<year>2007</year>). <article-title>Ecological limits to plant phenotypic plasticity</article-title>. <source>N. Phytol.</source> <volume>176</volume>, <fpage>749</fpage>&#x02013;<lpage>763</lpage>. <pub-id pub-id-type="doi">10.1111/j.1469-8137.2007.02275.x</pub-id><pub-id pub-id-type="pmid">17997761</pub-id></citation></ref>
<ref id="B72">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Via</surname> <given-names>S.</given-names></name> <name><surname>Lande</surname> <given-names>R.</given-names></name></person-group> (<year>1985</year>). <article-title>Genotype-environment interaction and the evolution of phenotypic plasticity</article-title>. <source>Evolution</source> <volume>39</volume>, <fpage>505</fpage>&#x02013;<lpage>522</lpage>.<pub-id pub-id-type="pmid">28561964</pub-id></citation></ref>
<ref id="B73">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wallace</surname> <given-names>G. T.</given-names></name> <name><surname>Kim</surname> <given-names>T. L.</given-names></name> <name><surname>Neufeld</surname> <given-names>C. J.</given-names></name></person-group> (<year>2014</year>). <article-title>Interpopulational variation in the cold tolerance of a broadly distributed marine copepod</article-title>. <source>Conserv. Physiol.</source> <volume>2</volume>, <fpage>cou041</fpage>. <pub-id pub-id-type="doi">10.1093/conphys/cou041</pub-id><pub-id pub-id-type="pmid">27293662</pub-id></citation></ref>
<ref id="B74">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Wasserman</surname> <given-names>L.</given-names></name></person-group> (<year>2004</year>). <source>All of Statistics: A Concise Course in Statistical Inference</source>. <publisher-loc>New York, NY</publisher-loc>: <publisher-name>Springer</publisher-name>.<pub-id pub-id-type="pmid">21380410</pub-id></citation></ref>
<ref id="B75">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yeh</surname> <given-names>P. J.</given-names></name> <name><surname>Price</surname> <given-names>T. D.</given-names></name></person-group> (<year>2004</year>). <article-title>Adaptive phenotypic plasticity and the successful colonization of a novel environment</article-title>. <source>Am. Nat.</source> <volume>164</volume>, <fpage>531</fpage>&#x02013;<lpage>542</lpage>. <pub-id pub-id-type="doi">10.1086/423825</pub-id><pub-id pub-id-type="pmid">15459883</pub-id></citation></ref>
</ref-list> 
</back>
</article> 