Learn R Programming

BMSC (version 0.2.1)

getBetaMatrix: Extract beta matrix from ConstrainedLinReg model

Description

Extracts matrix of beta estimates

Usage

getBetaMatrix(model, hasIntercept)

Arguments

model

model object: Model of class ConstrainedLinReg

hasIntercept

logical: Does the model formula include an intercept?

Value

matrix of estimates