Type: Package
Package: bsitar
Title: Bayesian Super Imposition by Translation and Rotation Growth
        Curve Analysis
Version: 0.2.1
Authors@R: 
    person("Satpal", "Sandhu", , "satpal.sandhu@bristol.ac.uk", 
           role = c("aut", "cre", "cph"),
           comment = c(ORCID = "0000-0002-8539-6897"))
Maintainer: Satpal Sandhu <satpal.sandhu@bristol.ac.uk>
Description: The Super Imposition by Translation and Rotation (SITAR) model 
    is a shape-invariant nonlinear mixed effect model that fits a natural cubic 
    spline mean curve to the growth data, and aligns individual-specific growth 
    curves to the underlying mean curve via a set of random effects (see Cole, 
    2010 <doi:10.1093/ije/dyq115> for details). The non-Bayesian version of the 
    SITAR model can be fit by using an already available R package 'sitar'. 
    While 'sitar' package allows modelling of a single outcome only, the 'bsitar' 
    package offers a great flexibility in fitting models of varying complexities 
    that include joint modelling of multiple outcomes such as height and weight 
    (multivariate model). Also, the 'bsitar' package allows simultaneous analysis 
    of a single outcome separately for sub groups defined by a factor variable such 
    as gender. This is achieved by fitting separate models for each sub group 
    (such as males and females for gender variable). An advantage of such approach 
    is that posterior draws for each sub group are part of a single model object 
    that makes it possible to compare coefficients across groups and test hypotheses. 
    As 'bsitar' package is a front-end to the R package 'brms', it offers an excellent 
    support for post-processing of posterior draws via various functions that are 
    directly available from the 'brms' package. In addition, the 'bsitar' package 
    include various customized functions that allow estimation and visualization 
    growth curves such as distance (increase in size with age) and velocity 
    (change in growth rate as a function of age).       
License: GPL-2
Depends: R (>= 3.6)
Imports: brms (>= 2.17.0), rstan (>= 2.26.0), loo (>= 2.7.0), dplyr (>=
        1.1.3), rlang (>= 1.1.2), Rdpack (>= 2.5), insight (>= 0.19.7),
        marginaleffects (>= 0.18.0), sitar, magrittr, methods, utils
Suggests: ggplot2 (>= 3.4.0), bayesplot (>= 1.11.0), posterior (>=
        1.3.1), testthat (>= 3.0.0), collapse (>= 2.0.3), tidyr, nlme,
        purrr, future, future.apply, forcats, jtools, patchwork,
        tibble, pracma, extraDistr, bookdown, knitr, kableExtra,
        rmarkdown, spelling, Hmisc, R.rsp, graphics, grDevices, ggtext,
        glue, stats
URL: https://github.com/Sandhu-SS/bsitar
BugReports: https://github.com/Sandhu-SS/bsitar/issues
Additional_repositories:
VignetteBuilder: knitr, R.rsp
RdMacros: Rdpack
Config/testthat/edition: 3
Encoding: UTF-8
LazyData: true
LazyLoad: no
LazyDataCompression: xz
NeedsCompilation: no
RoxygenNote: 7.2.3
Language: en-US
Packaged: 2024-03-19 11:52:17 UTC; drsat
Author: Satpal Sandhu [aut, cre, cph] (<https://orcid.org/0000-0002-8539-6897>)
Repository: CRAN
Date/Publication: 2024-03-19 17:00:08 UTC
Built: R 4.5.0; ; 2025-01-22 16:29:47 UTC; unix
