View source: R/insertOneStepBreaks.R
| insertOneStepBreaks | R Documentation |
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.
insertOneStepBreaks(obj, newData, xseq)
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. |
A vector like xseq, but with the break points
inserted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.