print: print.iOLS

View source: R/iOLS_print.R

printR Documentation

print.iOLS

Description

Function that prints an iOLS fitted model object.

Usage

print(m, ...)

Arguments

m

An iOLS fitted model object.

...

other parameters.

Value

a display of an iOLS fitted model object.

Examples

data(DATASET)
y = DATASET$y
x = as.matrix(DATASET[,c("X1","X2")])
lm = lm(log(y+1) ~ x)
lm_coef = c(coef(lm))
X = cbind(rep(1, nrow(x)), x)
tX = t(X)
library(matlib) ; VX = inv(tX %*% X)
f = iOLS(y, X, VX, tX, 20, b_init = lm_coef)
print(f)


IOLS documentation built on April 8, 2023, 1:15 a.m.

Related to print in IOLS...