Description Usage Arguments Author(s) See Also Examples
A demosimhybrid object can be plotted using the function plot.demosimhybrid, which is also used as the dedicated plot method. This function plots the frequency of parentals and hybrid classes on each generation.
1 2 |
x |
a |
col |
the colors for the hybrid classes. |
... |
Arguments to be passed to methods, such as graphical parameters (see |
F. Balao fbalao@us.es, J.L. GarcÃa-Castaño
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Example 1. Simulation under parental proportions,
## similar fecundities and random mating
inivalues<-c(0.5,0.5,0,0,0,0)
epi0.5<-demosimhybrid(inivalues)
epi0.5
plot.demosimhybrid(epi0.5)
## Example 2. Simulation under higher frecuency of Parental B,
## and higher fecundy of Parental A and random mating
inivalues2<-c(0.25,0.75,0,0,0,0)
fecundities<-c(1,0.5,0.5,0.5,0.5,0.5)
epi0.75<-demosimhybrid(x=inivalues2, F=fecundities)
epi0.75
plot.demosimhybrid(epi0.75)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.