ceCode"><pre class="sourceCode r"><code><span><span class="fu">fit_model</span><span class="op">(</span><span class="va">model</span>, <span class="va">X</span>, <span class="va">Y</span>, <span class="va">D</span>, <span class="va">model_type</span>, <span class="va">learner_type</span>, <span class="va">model_params</span>, <span class="va">propensity</span><span class="op">)</span></span></code></pre></div>
    </div>

    <div class="section level2">
    <h2 id="arguments">Arguments<a class="anchor" ari