Learn R Programming

supernova (version 2.0.0)

b1: b1

Description

A function to extract slope/beta1 value.

Usage

b1(fit, ...)

# S3 method for default b1(fit, ...)

# S3 method for formula b1(formula, data = list(), ...)

Arguments

fit

A lm object.

...

Passthrough arguments to lm.

formula
data

Value

The slope of the relevant model.