Description Usage Arguments Examples
The following function is needed to store compactly informations since it merge toghether conseguent gene sequences of the same popoulation. For instance: "red to 0.1 | red to 0.2 | blue to 1" becomes "red to 0.2 | blue to 1"
1 | compactChromosome(chrom)
|
chrom |
1 2 3 4 5 6 7 8 9 10 11 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
structure(function (chrom)
{
standardGeneric("compactChromosome")
}, generic = structure("compactChromosome", package = "AdmSim"), package = "AdmSim", group = list(), valueClass = character(0), signature = "chrom", default = `\001NULL\001`, skeleton = (function (chrom)
stop("invalid call in method dispatch to 'compactChromosome' (no default method)",
domain = NA))(chrom), class = structure("nonstandardGenericFunction", package = "methods"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.