hzar.extract.old.model.gen: Extract information about the clineMetaModel used.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/40-hzarPostProcessing.R

Description

These methods extract the $func and $req methods from the clineMetaModel object used initially. This includes modifications specified by the $parameterTypes item.

Usage

1
2

Arguments

fitRequest

A hzar.fitRequest or a hzar.dataGroup object, or a log likelihood function generated by hzar.

Value

A method which takes the cline parameters as arguments, with the fixed parameters set to default values.

The result of that method is boolean for hzar.extract.old.model.req and a function of distance for hzar.extract.old.model.gen.

Author(s)

Graham Derryberry asterion@alum.mit.edu

See Also

hzar.fitRequest hzar.dataGroup clineMetaModel hzar.first.fitRequest.old.ML

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data(manakinMolecular);
ASdata <-
  hzar.doMolecularData1DPops(distance=manakinMolecular$distance,
                             pObs=manakinMolecular$ak2.A,
                             nEff=manakinMolecular$ak2.nSamples);
ASclineM <- hzar.makeCline1DFreq(data=ASdata,scaling="none", tails="none");
ASclineM$func;
ASclineM$req;
ASfitA <- hzar.first.fitRequest.old.ML(ASclineM,ASdata)
hzar.extract.old.model.gen(ASfitA)
hzar.extract.old.model.req(ASfitA)

hzar documentation built on May 2, 2019, 7 a.m.