params: Get parameters from a (fitted) distribution

paramsR Documentation

Get parameters from a (fitted) distribution

Description

Get parameters from a (fitted) distribution

Usage

sl_distr_params(x, ...)

## S3 method for class 'random_steps'
sl_distr_params(x, ...)

## S3 method for class 'fit_clogit'
sl_distr_params(x, ...)

ta_distr_params(x, ...)

## S3 method for class 'random_steps'
ta_distr_params(x, ...)

## S3 method for class 'fit_clogit'
ta_distr_params(x, ...)

Arguments

x

⁠[amt_distr]⁠
A (fitted) distribution

...

None

Value

A list with the parameters of the distribution.

Examples

data(deer)
d <- deer |> steps() |> random_steps()
sl_distr_params(d)
ta_distr_params(d)



amt documentation built on June 25, 2024, 1:14 a.m.