Package: sitar 1.4.0.9000

sitar: Super Imposition by Translation and Rotation Growth Curve Analysis

Functions for fitting and plotting SITAR (Super Imposition by Translation And Rotation) growth curve models. SITAR is a shape-invariant model with a regression B-spline mean curve and subject-specific random effects on both the measurement and age scales. The model was first described by Lindstrom (1995) <doi:10.1002/sim.4780141807> and developed as the SITAR method by Cole et al (2010) <doi:10.1093/ije/dyq115>.

Authors:Tim Cole [cre, aut, cph]

sitar_1.4.0.9000.tar.gz
sitar_1.4.0.9000.zip(r-4.5)sitar_1.4.0.9000.zip(r-4.4)sitar_1.4.0.9000.zip(r-4.3)
sitar_1.4.0.9000.tgz(r-4.4-any)sitar_1.4.0.9000.tgz(r-4.3-any)
sitar_1.4.0.9000.tar.gz(r-4.5-noble)sitar_1.4.0.9000.tar.gz(r-4.4-noble)
sitar_1.4.0.9000.tgz(r-4.4-emscripten)sitar_1.4.0.9000.tgz(r-4.3-emscripten)
sitar.pdf |sitar.html
sitar/json (API)
NEWS

# Install 'sitar' in R:
install.packages('sitar', repos = c('https://statist7.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/statist7/sitar/issues

Datasets:
  • berkeley - The Berkeley Child Guidance Study
  • cdc2000 - The CDC 2000 growth reference
  • deren - Deren prevalence data on child thinness, overweight and obesity
  • heights - Serial heights measured in 12 girls
  • iotf - IOTF international body mass index reference
  • uk90 - UK 1990 growth reference
  • ukwhopt - UK-WHO growth reference including preterm
  • ukwhoterm - UK-WHO growth reference omitting preterm data
  • who06 - The WHO 2006 growth standard
  • who0607 - The WHO 2006 growth standard and WHO 2007 growth reference

On CRAN:

7.53 score 13 stars 3 packages 58 scripts 639 downloads 46 exports 47 dependencies

Last updated 1 months agofrom:307f6b51ba. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 30 2024
R-4.5-winNOTEOct 30 2024
R-4.5-linuxNOTEOct 30 2024
R-4.4-winOKOct 30 2024
R-4.4-macOKOct 30 2024
R-4.3-winOKOct 30 2024
R-4.3-macOKOct 30 2024

Exports:%>%AICadjapv_seBICadjbupdatecLMScodeplotdfpowerdfsetdiffidfuncallgetLgetPeakgetPeakTroughgetTakeoffgetTroughifunLMS2zLMSfitmplotn_agegpob_convertrob_convertr2optimal_designpdLMSplot_aplot_cplot_dplot_Dplot_uplot_vplot_Vplotcleanrecalibsitarsubsampletimegaptimegap.idvarexpveloutxaxsdxyadjyaxsdz2centzapveloutzLMS

Dependencies:clicodetoolscolorspacecpp11digestdplyrfansifarverforcatsfurrrfuturegenericsggplot2globalsgluegtableisobandlabelinglatticelifecyclelistenvmagrittrMASSMatrixmgcvmunsellnlmeparallellypillarpkgconfigpurrrR6RColorBrewerrlangrsamplescalessliderstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewarpwithr

Fitting models with SITAR

Rendered fromFitting_models_with_SITAR.Rmdusingknitr::rmarkdownon Oct 30 2024.

Last update: 2021-02-24
Started: 2017-12-05

Optimal design for growth reference centiles

Rendered fromOptimal_design_for_centile_studies.Rmdusingknitr::rmarkdownon Oct 30 2024.

Last update: 2020-11-13
Started: 2020-10-01

Readme and manuals

Help Manual

Help pageTopics
SITAR (SuperImposition by Translation And Rotation) growth curve analysissitar-package
Compare Likelihoods of Fitted SITAR Objectsanova.sitar
Bootstrap standard errors for SITAR peak velocity and age at peak velocityapv_se
The Berkeley Child Guidance Studyberkeley
Ways to compare SITAR models for fitAICadj BICadj getL varexp
Update the b fixed effect to minimise the b-c random effect correlationbupdate
The CDC 2000 growth referencecdc2000
LMS conversion to and from z-scorescLMS zLMS
Plot and zap velocity outliers in growth curvescodeplot zapvelout
Deren prevalence data on child thinness, overweight and obesityderen
Tabulate BIC of SITAR models by degrees of freedom, fixed effects and xy power transformationsdfpower
Find degrees of freedom for a natural spline curve to minimise BIC or AICdfset
Function call with optional inversefuncall
Extract elements of fitted SITAR modelsgetCovariate.sitar getData.sitar getVarCov.sitar
Identify peak or trough on curvegetPeak getPeakTrough getTakeoff getTrough
Serial heights measured in 12 girlsheights
Invert an expression defining a data transformationifun
IOTF international body mass index referenceiotf
Convert to/from measurement from/to z-score with growth referenceLMS2z
Estimate LMS curves from tabulated growth reference centilesLMSfit
Plot multiple growth curvesmplot
Convert between IOTF, WHO and CDC prevalence rates for child thinness, overweight and obesityob_convertr ob_convertr2
Optimal design for growth reference centile studiesn_agegp optimal_design
Plot frequency distributions(s) for given L, M and S values in LMS methodpdLMS
Plot SITAR modellines.sitar plot.sitar plot_a plot_c plot_D plot_d plot_u plot_V plot_v
Plot multiple growth curves to identify outliersplotclean
Predict SITAR modelpredict.sitar
Print SITAR modelprint.sitar
Print summary of SITAR modelprint.summary.sitar
Recalibrate x, y data using SITAR random effectsrecalib
Fit SITAR growth curve modelsitar update.sitar
Sample from SITAR datasetsubsample
Create summary of SITAR modelsummary.sitar
Select equally spaced ages from a vector of agesdiffid timegap timegap.id
UK 1990 growth referenceuk90
UK-WHO growth reference including pretermukwhopt
UK-WHO growth reference omitting preterm dataukwhoterm
Identify outliers with abnormal velocity in growth curvesvelout
The WHO 2006 growth standardwho06
The WHO 2006 growth standard and WHO 2007 growth referencewho0607
Par args xaxs and yaxs option dxaxsd yaxsd
Adjust x and y variables for SITAR random effectsxyadj
Express z-scores as centile character strings for plottingz2cent