Learn R Programming

fRegression (version 4021.83)

vcov-methods: Extract Regression Model vcov

Description

Extracts vcov from a fitted regression model.

Arguments

Methods

object = "ANY"

Generic function

object = "fREG"

Extractor function for vcov.

Author

Diethelm Wuertz for the Rmetrics R-port.

Examples

Run this code
## regSim -
   x <- regSim(model = "LM3", n = 50)
  
## regFit -
   fit <- regFit(Y ~ X1 + X2 + X3, data = x, use = "lm")
   
## vcov - 
   vcov(fit)

Run the code above in your browser using DataLab