 class="dv">1</span>,
             <span class="dt">polarisation =</span> <span class="st">'p'</span>)
## simulation (side of incidence is irrelevant)
M &lt;-<span class="st"> </span><span class="kw">do.call</span>(multilayer, stack)
<span class="kw">str</span>(M)</code></pre></div>
<pre><code>## List of 15
##  $ wavelength  : num 633
##  $ k0          : num 0.00993
##  $ angle       : num [1:100] 0 0.0317 0.0635 0.0952 0.1269 ...
##  $ q           : num [1:100] 0 0.0317 0.0634 0.0951 0.1266 ...
##  $ refle