Template Function fwdpp::sample_individuals

Function Documentation

template<typename poptype>
data_matrix fwdpp::sample_individuals(const poptype &pop, const std::vector<std::size_t> &individuals, const bool include_neutral, const bool include_selected, const bool remove_fixed)

Create a fwdpp::data_matrix for a set of individuals.

Return

fwdpp::data_matrix

Note

The return value is a haplotype matrix.

Parameters