fastLm: Estimate coefficients for linear model.

View source: R/RcppExports.R

fastLmR Documentation

Estimate coefficients for linear model.

Description

This is a function to rapidly fit linear models and return estimated coefficients.

Usage

fastLm(y, X)

Arguments

y

A numeric vector of response variables

X

A numeric matrix of predictor variables

Value

A numeric list with estimated coefficients and standard deviations.


Pacific-salmon-assess/samSim documentation built on Jan. 20, 2025, 11:17 a.m.