Learn R Programming

hzar (version 0.2-5)

hzar.sameModel: Do the hzar objects share the same model or data?

Description

Test hzar objects for identical associated cline models or identical hzar.obsData objects.

Usage

hzar.sameModel(fitA, fitB) hzar.sameObsData(fitA, fitB)

Arguments

fitA
An object to compare.
fitB
An object to compare.

Value

FALSE if the objects can not be compared (either does not have an associated model or observed data).For hzar.sameModel:TRUE if the model associated with fitA is identical (same equation, parameters, free parameters, and fixed parameter values).FALSE otherwise.For hzar.sameObsData:TRUE if the [["frame"]] of the hzar.obsData object associated with fitA is identical to the [["frame"]] of the hzar.obsData object associated with fitB.FALSE otherwise.