landscape.genepop.output {kernelPop}R 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))

[Package kernelPop version 0.9.09 Index]