Skip to content

gKRLS

Generalized Kernel Regularized Least Squares

v1.0.4 · Nov 7, 2024 · GPL (>= 2)

Description

Kernel regularized least squares, also known as kernel ridge regression, is a flexible machine learning method. This package implements this method by providing a smooth term for use with 'mgcv' and uses random sketching to facilitate scalable estimation on large datasets. It provides additional functions for calculating marginal effects after estimation and for use with ensembles ('SuperLearning'), double/debiased machine learning ('DoubleML'), and robust/clustered standard errors ('sandwich'). Chang and Goplerud (2024) <doi:10.1017/pan.2023.27> provide further details.

Downloads

652

Last 30 days

5120th

2.1K

Last 90 days

8.1K

Last year

Trend: -4.5% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.8Mb
  sub-directories of 1Mb or more:
    libs   7.4Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.8Mb
  sub-directories of 1Mb or more:
    libs   7.5Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/gKRLS.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.8Mb
  sub-directories of 1Mb or more:
    libs   7.4Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.8Mb
  sub-directories of 1Mb or more:
    libs   7.5Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.8Mb
  sub-directories of 1Mb or more:
    libs   7.4Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.8Mb
  sub-directories of 1Mb or more:
    libs   7.5Mb

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies mgcv sandwich Rcpp Matrix mlr3 R6 vglmer gKRLS

Version History

5 tracked
new 1.0.4 Mar 10, 2026
updated 1.0.4 ← 1.0.3 diff Nov 6, 2024
updated 1.0.3 ← 1.0.2 diff Sep 3, 2024
updated 1.0.2 ← 1.0.1 diff Apr 19, 2023
new 1.0.1 Apr 16, 2023