hzar.gen.cline: Make a 'hzar.cline' object using the given parameters and...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/40-hzarPostProcessing.R

Description

Make a hzar.cline object using the given parameters and model.

Usage

1
hzar.gen.cline(free.parameters, fitRequest)

Arguments

free.parameters

A named list of free parameter values.

fitRequest

An object refering to the model that should be used, such as a hzar.fitRequest or hzar.dataGroup object.

Value

The hzar.cline object requested.

Author(s)

Graham Derryberry [email protected]

See Also

hzar.cline

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
data(manakinMolecular);
mknAdaA <-
  hzar.doMolecularData1DPops(manakinMolecular$distance,
                             manakinMolecular$ada.A,
                             manakinMolecular$ada.nSamples);
hzar.plot.obsData(mknAdaA);
mknAdaAmodel <-
  hzar.makeCline1DFreq(mknAdaA, scaling="fixed",tails="none");
mknAdaAmodel <-
  hzar.model.addBoxReq(mknAdaAmodel,-30,600);
mknAdaAmodelFitR <-
   hzar.first.fitRequest.old.ML(model=mknAdaAmodel ,
                                mknAdaA,
                                verbose=FALSE);
mknAdaAcline <- hzar.gen.cline(list(center=300,width=10),
                               mknAdaAmodelFitR);
str(mknAdaAcline);
hzar.plot.cline(mknAdaAmodelFitR);
hzar.plot.cline(mknAdaAcline,add=TRUE);

hzar documentation built on May 29, 2017, 8:45 p.m.