ode>R/stat_horizon.R</code></a></small>
    <div class="hidden name"><code>stat_horizon.Rd</code></div>
    </div>

    <div class="ref-description">
    <p>This stat is the default stat used by `geom_horizon`. It allows to transform
the data according to an origin and a horizon scale.</p>
    </div>

    <pre class="usage"><span class='fu'>stat_horizon</span><span class='op'>(</span>
  mapping <span class='op'>=</span> <span class='cn'>NULL</span>,
  data <span class='op'>=</span> <span class='cn'>NULL</sp