Skip to contents

This S3 method prints and returns the selective and naive coefficient estimates from an lmFScreen model.

Usage

# S3 method for class 'lmFScreen'
coef(object, ...)

Arguments

object

An object of class lmFScreen.

...

Currently unused.

Value

Invisibly returns a data frame containing:

  • Predictor: Names of the predictor variables

  • Estimate (Selective): Selective coefficient estimates

  • Estimate (Naive): Naive coefficient estimates

Examples

data(mtcars)
mod <- lmFScreen(mpg ~ wt + hp, data = mtcars)
coef(mod)
#> 
#> Coefficients from lmFScreen
#> ----------------------------
#>   Predictor Selective.Est   Naive.Est
#> 1        wt   -3.87783074 -3.87783074
#> 2        hp   -0.03177295 -0.03177295