Description Usage Arguments Examples
Save a Rmetasim landscape object to a file in a suite of output formats
1 | rland <- landscape.write.foreign(rland,fn="foreign",numi=24,fmt="GDA")
|
rland |
the Rmetasim landscape object |
fn |
the path and name of the file to save the landscape to |
numi |
number of individuals sampled per population for inclusion in subsequent analyses |
fmt |
the output format for the landscape: Can take the following values:"arlequin","arlequinhap","biosys","genpop","R","migrate","rerat","GDA" |
1 2 3 4 | ## Needs write access to the current directory, files created!!
exampleland <- landscape.new.example()
landscape.write.foreign(exampleland, fn="exampleland.nex", fmt="GDA")
rm(exampleland)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.