Learn R Programming

FARS (version 0.7.1)

coef.fars: Coefficients for fars Object

Description

Returns a matrix of estimated coefficients from all quantile regressions stored in a fars object.

Usage

# S3 method for fars
coef(object, ...)

Value

A numeric matrix with one column per quantile level and one row per coefficient. Column names correspond to quantile levels (e.g. 0.05, 0.25, ...), and row names to coefficient names.

Arguments

object

An object of class fars.

...

Additional arguments (ignored).

Examples

Run this code
fars_result <- compute_fars(dep_variable = rnorm(100), 
                            factors = matrix(rnorm(100 * 3), ncol = 3))
coef(fars_result)

Run the code above in your browser using DataLab