Choosing optimal number of segment using Marc Lavielle's method. From Emilie Lebarbier. Method based on identifying breaks in the slope of the contrast.

chooseseg_lavielle(J, S = 0.75, ...)

Arguments

J

likelihood for each number of segment

S

threshold for choosing the number of segment. See adehabitatLT::chooseseg

...

additional arguments

Value

a list with optimal number of segment and full data.frame of the calculus