Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

parameters

Extract Model Parameters


Description

parameters is a generic function which extracts parameters from mistr distribution objects.

Usage

parameters(O)

## S3 method for class 'standist'
parameters(O)

## S3 method for class 'trans_standist'
parameters(O)

## S3 method for class 'mixdist'
parameters(O)

## S3 method for class 'trans_mixdist'
parameters(O)

## S3 method for class 'compdist'
parameters(O)

## S3 method for class 'trans_compdist'
parameters(O)

## S3 method for class 'comp_fit'
parameters(O)

Arguments

O

an object for which the extraction of model parameters is meaningful.

Value

Vector (for standard distributions) or list (in the case of mixture/composite distribution) of parameters extracted from the object.

For a fitted object of class comp_fit returns vector of fitted parameters.

See Also

Examples

N <- normdist(1, 3)
parameters(N)

C <- cauchydist()
M <- mixdist(N, C, weights = c(0.5, 0.5))
parameters(M)

mistr

Mixture and Composite Distributions

v0.0.4
GPL-3
Authors
Lukas Sablica [aut, cre] (<https://orcid.org/0000-0001-9166-4563>), Kurt Hornik [aut] (<https://orcid.org/0000-0003-4198-9911>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.