R/examples/ex-summary_lm.R

set.seed(129)
n <- 100
p <- 2
X <- matrix(rnorm(n * p), n, p) # no intercept!
y <- rnorm(n)

obj <- .lm.fit (x = cbind(1, X), y = y) 
info <- summary_lm(obj)
kongdd/rtrend documentation built on Jan. 29, 2024, 11:48 p.m.