| get_knots {brokenstick} | R Documentation |
Obtain the knots from a broken stick model
Description
Obtain the knots from a broken stick model
Usage
get_knots(
object,
hide = c("right", "left", "boundary", "internal", "none"),
whatknots = "all",
what = "all"
)
Arguments
object |
An object of class |
hide |
Should output for knots be hidden in get, print, summary and plot
functions? Can be |
whatknots |
Deprecated. Use |
what |
Deprecated. Use |
Value
A vector with knot locations, either both, internal only or
boundary only, depending on hide.
The result is NULL if object does not
have proper class. Returns numeric(0) if
there are no internal knots.
Examples
get_knots(fit_200, hide = "bo")
[Package brokenstick version 2.5.0 Index]