Learn R Programming

FARS (version 0.8.0)

get_rq_model.fars: Extract a Specific rq Object from a fars Object

Description

Returns the rq fit stored inside a fars object at the requested quantile.

Usage

# S3 method for fars
get_rq_model(x, tau, ...)

Value

A single rq object.

Arguments

x

An object of class mldfm_subsample.

tau

Numeric scalar in (0, 1) indicating the desired quantile.

...

Additional arguments (ignored).

Examples

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

Run the code above in your browser using DataLab