landscape.genepop.output: writes genepop files based on the genotypes of individuals in...

View source: R/genepopR.R

landscape.genepop.outputR Documentation

writes genepop files based on the genotypes of individuals in a landscape

Description

creates a genepop file. Occupied habitats correspond to genepop populations.

Usage

landscape.genepop.output(
  l,
  fn = "genepop.out",
  title = "rmetasim landscape output"
)

Arguments

l

landscape object

fn

output file name

title

title of output in genepop file

Details

Only exports diploid data. You might want to run landscape.sample() on the landscape before exporting it

See Also

landscape.write.foreign, landscape.write.fdist

Examples


#	l <- landscape.new.example()	
#	l <- landscape.simulate(l,5)
#	landscape.genepop.output(landscape.sample(l,3,24))


stranda/quantsel documentation built on July 10, 2022, 2:28 p.m.