deg_free {tidychangepoint} | R Documentation |
Retrieve the degrees of freedom from a logLik
object
Description
Retrieve the degrees of freedom from a logLik
object
Usage
deg_free(x)
Arguments
x |
An object that implements a method for |
Value
The df
attribute of the stats::logLik()
of the given object.
Examples
# Retrieve the degrees of freedom model a changepoint model
DataCPSim |>
segment() |>
as.model() |>
deg_free()
[Package tidychangepoint version 1.0.0 Index]