n="true" tabindex="-1"></a>z ~ foo(phi);</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<p>will have the same effect as incrementing the target with the log of the unnormalized density:</p>
<div class="sourceCode" id="cb12"><pre class="sourceCode stan code-with-copy"><code class="sourceCode stan"><span id="cb12-1"><a href="#cb12-1" aria-hidden="true" tabindex="-1"></a><span class="kw">target +=</span> foo_lupdf(z | phi);</span></code><button t