From b2f1e6f7751b5897c18ee622fab4b732d46be427 Mon Sep 17 00:00:00 2001 From: Mankameshwar Mishra Date: Fri, 10 Apr 2026 14:03:23 +0530 Subject: [PATCH] Add basic usage example for gamboostLSS Added an example of basic usage for gamboostLSS in the README. --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index f2641cf..eea6412 100644 --- a/README.md +++ b/README.md @@ -60,3 +60,17 @@ For issues, bugs, feature requests etc. please use the [GitHub Issues](https://g install.packages("devtools") ``` +## Example: Basic Usage of gamboostLSS + +```r +library(gamboostLSS) + +data("bodyfat", package = "TH.data") + +model <- gamboostLSS( + DEXfat ~ age + waistcirc + hipcirc, + data = bodyfat, + families = GaussianLSS() +) + +summary(model)