Learn R Programming

api2lm (version 0.2)

combine_coefs: Combine coefficients

Description

Combine coefficients and standard errors from two fitted models

Usage

combine_coefs(i, a, b, digits = NULL)

Value

A character matrix

Arguments

i

Index of coefficients

a

Coefficients and standard errors from Model 1

b

Coefficients and standard errors from Model 2

digits

A positive integer indicating how many significant digits are to be used for numeric and complex numbers. This argument is passed to format.