Skip to content

Commit

Permalink
Fixed description
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaeusser committed Aug 29, 2024
1 parent f524c5a commit 24d8556
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions R/fit_ridge.R
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

#' @title Estimate a linear model via ridge regression
#'
#' @description Estimate a linear model via Ordinary Least Squares (OLS).
#' \code{fit_lm()} is a wrapper function for \code{stats::lm.fit()} with some
#' additional output like goodness-of-fit metrics (e.g. information criteria).
#' The function is slightly faster than \code{stats::lm()}, bit most
#' importantly, the resulting object size is much smaller.
#' @description Estimate a linear model via ridge regression. For
#' \code{lambda = 0}, the estimate is equivalent to Ordinary Least Squares
#' (OLS). For \code{lambda} values larger then zero, regularization is
#' applied.
#'
#' @param x Numeric matrix. The design matrix containing the predictor variables.
#' @param y Numeric matrix. The response variable(s).
Expand Down
Binary file modified src/echos.dll
Binary file not shown.

0 comments on commit 24d8556

Please sign in to comment.