Description Usage Arguments Value Examples
Generates the phenotypic coordinates, in a n
-dimension(s) phenotypic space,
corresponding to a given fitness using Fisher's Geometric Model (FGM, Fisher (1930)).
Use the inverse of the fitness function of an isotrope FGM (with parameters
n
, maxfitness
, alpha
, Q
) to compute the euclidian
distance to the phenotypic optimum (pheno_opt
-at the origin by default-
at which the fitness = maxfitness
). This distance is reported on the
first coordinate and all the other n
-1 coordinates are equal to the
coordinates of the phenotypic optimum.
See also ptof_fgm_iso
for inverse function.
1 2 | ftop_fgm_iso(fitness, n, maxfitness, alpha = 1/2, Q = 2,
pheno_opt = numeric(n))
|
fitness |
A real number. The fitness of the phenotype. Must be lower or
equal to |
n |
A natural number. Number of dimensions of the phenotypic space. |
maxfitness |
A real number. The maximum fitness in the landscape. The
fitness at the phenotypic optimum ( |
alpha |
A strictly positive real number. Scaling factor for the fitness function. Default=1/2 in the cannonical FGM with a quadratic fitness function. |
Q |
A strictly positive number. "Shape" of the fitness function. Default=2 in the cannonical FGM with a quadratic fitness function. |
pheno_opt |
A vector of coordinates for the position of the phenotypic
optimum at which the fitness is equal to |
A vector of n
coordinates in the phenotypic space.
1 2 | ftop_fgm_iso(fitness = 0, n = 3, maxfitness = 1)
ftop_fgm_iso(fitness = 0, n = 3, maxfitness = 1, alpha = 1/2, Q = 2, pheno_opt = c(1,1,1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.