Description Usage Arguments Value Author(s)
Internal function used to generate file tw.dat
file with parameters entering twinspan.exe
. Contains all TWINSPAN parameters which could be modified (also via the function twinspan
).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | create.tw.dat(
input.file = "tw.cc!",
omit.samples = -1,
no.cut.levels = length(cut.levels),
cut.levels = c(0, 2, 5, 10, 20),
min.group.size = 5,
max.no.ind = 7,
max.no.sp.table = 100,
levels = 6,
long.output = 1,
diagram = 0,
machine.readable.output = 1,
pseudosp.weights = -1,
indicator.potential = -1,
ommited.species = -1,
samples.weights = -1,
species.weights = -1
)
|
input.file |
Input file with data (default = |
omit.samples |
Which samples should be omitted from analysis? (default = -1, meaning no samples omitted) |
no.cut.levels |
How many pseudospecies cut levels? (default = |
cut.levels |
Pseudospecies cut levels (default = |
min.group.size |
Minimum size of the group, which should not be further divided (default = 5). |
max.no.ind |
Maximum number of indicator species (default = 7, should be between 0 and 15). |
max.no.sp.table |
Maximum number of species in the output table stored in |
levels |
Number of hierarchical levels of divisions (default = 6, should be between 0 and 15). |
long.output |
Should the long output be produced? (default = 1, means yes) |
diagram |
Should the diagram be appended in output? (default = 0, means no) |
machine.readable.output |
Should the machine readable output be created? (default = 1, means yes, and should not be changed, othewise the result cannot be read back to R) |
pseudosp.weights |
Weights for pseudospecies. |
indicator.potential |
Indicator potential for cut levels. |
ommited.species |
Numbers (not names) of species which should be omitted from the list of potential indicators. |
samples.weights |
Weights of samples. |
species.weights |
Weights of species. |
Creates file tw.dat
in the subdirectory exec
of the twinspan
library folder. This file contains all parameters needed to setup the TWINSPAN algorithm, and is loaded into twinspan.exe
together with the community data (reformated into condensed format and stored in tw.cc!
).
David Zeleny (zeleny.david@gmail.com)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.