Learn R Programming

mistr (version 0.0.6)

parameters: Extract Model Parameters

Description

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

Usage

parameters(O)

# S3 method for standist parameters(O)

# S3 method for trans_standist parameters(O)

# S3 method for mixdist parameters(O)

# S3 method for trans_mixdist parameters(O)

# S3 method for compdist parameters(O)

# S3 method for trans_compdist parameters(O)

# S3 method for comp_fit parameters(O)

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.

Arguments

O

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

See Also

weights, breakpoints

Examples

Run this code
N <- normdist(1, 3)
parameters(N)

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

Run the code above in your browser using DataLab