CRAN/E | bsitar

bsitar

Bayesian Super Imposition by Translation and Rotation Growth Curve Analysis

Installation

About

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 further 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 the 'bsitar' package include various customized functions that allow estimation and visualization of various growth curves such as distance (increase in size with age) and velocity (change in rate of growth as a function of age).

Citation bsitar citation info
github.com/Sandhu-SS/bsitar
Bug report File report

Key Metrics

Version 0.1.1
R ≥ 3.6
Published 2024-01-25 95 days ago
Needs compilation? no
License GPL-2
CRAN checks bsitar results
Language en-US

Downloads

Yesterday 6 0%
Last 7 days 52 -22%
Last 30 days 225 -12%
Last 90 days 682 +14%
Last 365 days 1.261

Maintainer

Maintainer

Satpal Sandhu

satpal.sandhu@bristol.ac.uk

Authors

Satpal Sandhu

aut / cre / cph

Material

README
NEWS
Reference manual
Package source

Vignettes

Bayesian SITAR model - An introduction
Fit_univariate_Bayesian_SITAR_model

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

bsitar archive

Depends

R ≥ 3.6

Imports

brms ≥ 2.17.0
rstan ≥ 2.26.0
dplyr ≥ 1.1.3
rlang ≥ 1.1.2
sitar
magrittr
loo
methods
utils
Rdpack ≥2.5

Suggests

bookdown
knitr
kableExtra
tibble
rmarkdown
spelling
Hmisc
pracma
testthat ≥ 3.0.0
R.rsp
bayesplot ≥1.10.0
marginaleffects ≥ 0.15.1
forcats
future
future.apply
ggplot2 ≥ 3.4.0
graphics
grDevices
jtools
nlme
patchwork
posterior ≥ 1.3.1
purrr
stats
tidyr
extraDistr