adj.check.order: Check order of adjustment terms

View source: R/adj.check.order.R

adj.check.orderR Documentation

Check order of adjustment terms

Description

'adj.check.order' checks that the Cosine, Hermite or simple polynomials are of the correct order.

Usage

adj.check.order(adj.series, adj.order, key)

Arguments

adj.series

Adjustment series used ('cos','herm','poly')

adj.order

Integer to check

key

key function to be used with this adjustment series

Details

Only even functions are allowed as adjustment terms, per p.47 of Buckland et al (2001). If incorrect terms are supplied then an error is throw via stop.

Value

Nothing! Just calls stop if something goes wrong.

Author(s)

David Miller

References

S.T.Buckland, D.R.Anderson, K.P. Burnham, J.L. Laake. 1993. Robust Models. In: Distance Sampling, eds. S.T.Buckland, D.R.Anderson, K.P. Burnham, J.L. Laake. Chapman & Hall.

See Also

adjfct.cos, adjfct.poly, adjfct.herm, detfct, mcds, cds


DistanceDevelopment/mrds documentation built on Feb. 15, 2024, 9:25 a.m.