This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 7c2b5260bc gnu: Add r-vpc.
7c2b5260bc is described below

commit 7c2b5260bc6eefa811769e82f4071039277a84b0
Author: Rikard Nordgren <[email protected]>
AuthorDate: Thu Jun 19 15:36:28 2025 +0200

    gnu: Add r-vpc.
    
    * gnu/packages/statistics.scm (r-vpc): New variable.
    
    Change-Id: I0b3df19a2e8cfb43de51f70e78730f4480929d24
    Modified-by: Sharlatan Hellseher <[email protected]>
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/statistics.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index e685cdf4a5..a41d7b905d 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -25,6 +25,7 @@
 ;;; Copyright © 2024-2025 Sharlatan Hellseher <[email protected]>
 ;;; Copyright © 2025 Jonas Freimuth <[email protected]>
 ;;; Copyright © 2025 Janneke Nieuwenhuizen <[email protected]>
+;;; Copyright © 2025 Rikard Nordgren <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3537,6 +3538,41 @@ simple slopes, standardized coefficients, regions of 
significance (Johnson &
 Neyman, 1936; cf.  Spiller et al., 2012), etc.")
     (license license:gpl3)))
 
+(define-public r-vpc
+  (package
+    (name "r-vpc")
+    (version "1.2.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/ronkeizer/vpc";)
+              (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1bkp0zy1pswrqgcsdvxvc7gyfl544k89qrjqdcj4aqkif0bfqmx8"))))
+    (build-system r-build-system)
+    (native-inputs
+     (list r-testit))
+    (propagated-inputs
+     (list r-classint
+           r-dplyr
+           r-ggplot2
+           r-mass
+           r-readr
+           r-stringr
+           r-survival
+           r-tidyr))
+    (home-page "https://vpc.ronkeizer.com/";)
+    (synopsis "Create visual predictive checks")
+    (description
+     "Visual predictive checks are a commonly used diagnostic plot in
+pharmacometrics, showing how certain statistics (percentiles) for observed
+data compare to those same statistics for data simulated from a model.  The
+package can generate VPCs for continuous, categorical, censored, and
+(repeated) time-to-event data.")
+    (license license:expat)))
+
 (define-public ruby-enumerable-statistics
   (package
     (name "ruby-enumerable-statistics")

Reply via email to