| rep_first_factor_value | R Documentation |
Function to repeat the first level of a factor n times and return this vector as a factor with the original levels intact
rep_first_factor_value(f, n)
f |
a factor |
n |
numeric; the number of times to repeat the first level of |
A factor of length n with the levels of f, but whose elements
are all the first level of f.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.