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 March 31, 2023, 5:29 p.m.