n class='op'>&lt;-</span> <span class='fu'>apply_market_model</span><span class='op'>(</span>
    rates <span class='op'>=</span> <span class='va'>rates</span>,
    regressor <span class='op'>=</span> <span class='va'>rates_indx</span>,
    same_regressor_for_all <span class='op'>=</span> <span class='cn'>TRUE</span>,
    market_model <span class='op'>=</span> <span class='st'>"mrkt_adj"</span>,
    estimation_start <span class='op'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/as.Date.html'>as.