permite repetir un elemento un n√∫mero fijado de veces.</p>
<div class="sourceCode" id="cb515"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span class="fu"><a href="https://rdrr.io/r/base/rep.html">rep</a></span><span class="op">(</span><span class="fl">0</span>, <span class="fl">7</span><span class="op">)</span> <span class="co"># vector de 7 ceros</span></code></pre></div>
<pre><code>## [1] 0 0 0 0 0 0 0</code></pre>
<p>No solo podemos repetir un n√∫mero sino que podemos <strong>