Learn R Programming

supernova (version 2.0.0)

b0: b0

Description

A function to extract intercept/beta0 value.

Usage

b0(fit, ...)

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

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

Arguments

fit

A lm object.

...

Passthrough arguments to lm.

formula
data

Value

The intercept of the relevant model.