conversion | R Documentation |
Converts input files from genepop format to some other formats (some maybe only of historical interest): Fstat, two Biosys formats. and linkdos. See this section of the Genepop executable documentation for more information on the statistical methods.
conversion(inputFile, format, outputFile = "", verbose = interactive())
inputFile |
The path of the input file, in Genepop format |
format |
Character string: must be one of |
outputFile |
character: The path of the output file |
verbose |
logical: whether to print some information |
The path of the output file is returned invisibly.
locinfile <- genepopExample('sample.txt') conversion(locinfile, format='Fstat', 'sample.txt.DAT') if ( ! interactive()) clean_workdir(otherfiles='sample.txt')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.