landscape.populations: return a vector of population IDs from a landscape

Description Usage Arguments Details Value See Also Examples

Description

return a vector of population IDs from a landscape

Usage

1

Arguments

Rland

the Rmetasim landscape object

Details

Returns a vector of length dim(rland$individuals)[1] where rland is a landscape object. The vector classifies individuals into populations (or habitats)

Value

a vector

See Also

landscape.locus, landscape.ploidy

Examples

1
2
3
4
5
  exampleland <- landscape.new.example()
  exampleland <- landscape.simulate(exampleland, 4)
  plot(table(landscape.populations(exampleland)),
       main="Distribution of population size in landscape")
  rm(exampleland)


Search within the rmetasim package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? 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.