Description Usage Arguments Value Note Author(s) See Also Examples
View source: R/40-hzarPostProcessing.R
Intended to group multiple fits of the same model and the same
observation data into a single object. As it works with
hzar.fitRequest
objects, it is simpler to use than
hzar.make.dataGroup
.
1 2 | hzar.dataGroup.add(dataGroup, fitRequestL = list(), doPar = FALSE)
hzar.fit2DataGroup(fitRequest, doPar = FALSE)
|
dataGroup |
A single |
fitRequestL |
A |
fitRequest |
A single |
doPar |
This is argument is passed to |
A hzar.dataGroup
object.
A deep list of T
is a list of length greater > 1 that contains
only deep lists of T
or objects of class T
.
Graham Derryberry asterion@alum.mit.edu
hzar.fitRequest
hzar.dataGroup
hzar.obsDataGroup
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | data(manakinMolecular);
mknAdaA <-
hzar.doMolecularData1DPops(manakinMolecular$distance,
manakinMolecular$ada.A,
manakinMolecular$ada.nSamples);
mknAdaAmodel <-
hzar.makeCline1DFreq(mknAdaA, scaling="fixed",tails="none");
mknAdaAmodel <-
hzar.model.addBoxReq(mknAdaAmodel, -30, 600)
mknAdaAmodelFit <-
hzar.first.fitRequest.old.ML(model=mknAdaAmodel ,
mknAdaA,
verbose=FALSE);
mknAdaAmodelFit$mcmcParam$chainLength <- 1e3;
mknAdaAmodelFit$mcmcParam$burnin <- 5e2;
mknAdaAFit <- hzar.doFit(mknAdaAmodelFit);
str(hzar.fit2DataGroup(mknAdaAFit));
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.