Learn R Programming

sleev (version 1.1.6)

coefficients.linear2ph: Extract Coefficients from linear2ph Model

Description

Extracts estimated coefficients from a two-phase linear regression model of class linear2ph.

Usage

# S3 method for linear2ph
coefficients(object, ...)

Value

A numeric vector of coefficients if the model converged, otherwise NULL with a warning.

Arguments

object

An object of class linear2ph.

...

Additional arguments passed to other methods.

See Also