"anchor" href="#descriptive-statistics-for-strata"></a>
</h2>
<p>Suppose we wish to obtain descriptive statistics of the
<code>fev</code> and <code>height</code> variables, stratified by
smoking status. To do this, we can use the <code>strata</code> parameter
in <code>descrip</code>:</p>
<div class="sourceCode" id="cb8"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="fu"><a href="../reference/descrip.html">descrip</a></span><span class="op">(</span><span class="va">fev</span