This function expands a frequency vector to a vector.

1 | ```
expand(F)
``` |

`F` |
Frequency vector |

This function takes a frequency vector and expands it to a longer vector with one entr for each observation. It is reverses the `collapse`

function. A frequency vector has an entry for each position in the population. Each entry states the number of individuals in the population with this position. Here we create a vector with an entry for each individual.

A vector

Didier Ruedin

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.