  <div class="ref-description section level2">
    <p>This function validates user-provided parameters against the formal arguments of a specified model function.
It ensures that all user-specified parameters are recognized by the model and raises an error for invalid parameters.</p>
    </div>

    <div class="section level2">
    <h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
    <div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">valid