Learn R Programming

Rdistance (version 4.1.1)

insertOneStepBreaks: Insert oneStep Likelihood breaks

Description

Compute break points in a onestep likelihood and insert them into a sequence of distances. The idea is to insert a point just left and just right of the breaks so that they plot as vertical lines.

Usage

insertOneStepBreaks(obj, newData, xseq)

Value

A vector like xseq, but with the break points inserted.

Arguments

obj

A fitted Rdistance model object

newData

A data frame containing covariate values to use in prediction.

xseq

A vector of distances into which the break points are inserted.