Description Usage Arguments Value Author(s) Examples
FillSetting
computes widths and centers of set of clines (simulations).
Both 1D and 2D simulations can be input
1 | FillSetting(sim, GradTable, method = "hzar", tails = "none")
|
sim |
A list of simulation summaries, output of |
GradTable |
A data.frame of simulations, output of |
method |
set to 'hzar' for fit performed by package hzar (default) or 'nlm' for fit performed by fit of logistic curve to cline using non-linear least square method. 'nlm' mehtod is faster, but does not perform well on clines deviating a lot from logistic shape (multilocus clines, clines under strong drift ...) |
tails |
('mirror') to fit logistic model with exponenctial functions as tails; ('none') to fit logistic model only |
A data.frame object, integrating information about the settings used in the simulation run and the summary of the simulation run in a R-friendly format.
Kamil Jaron kamiljaron at gmail.com
1 2 3 4 5 | {
mysim=ReadSummary(nameIn='../../Conjunction/out')
myGradTable=ReadSetting(InputFile='../../Conjunction/setting.txt')
myFilledSetting = FillSetting(sim=mysim, GradTable=myGradTable)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.