Niels Steen Krogh
2007-Nov-08 16:16 UTC
[R] centile reference chart / clildren growth chart - what package/method to use
We are constructing growth charts (age/weight and age/length) for children with diagnosis that impacts weight/length. But we we don't know how to use R for producing growth charts. We are collection data of Age, Weight and Length. The data are used to produce diagnosis-specific Growth charts (like the CDC Growth Charts: http://www.cdc.gov/nchs/data/nhanes/growthcharts/set1clinical/cj41l017.pdf) Data-example is in the UsingR package as data(kid.weights). In the CDC-papers a LMS approch is described. Cole has programmed the methology (I guess) in a <R 2.0.0 package called lmsqreg: """> library(lmsqreg)Error in library(lmsqreg) : lmsqreg' is not a valid package -- installed < 2.0.0?) """ Where to go forward in R. Thanks for any "hints". We are using R2.6.0 on win/linux /Niels Niels Steen Krogh Konsulent ZiteLab ApS Mail: ---------- nielssteenkrogh at zitelab.dk Telefon: ------- +45 38 88 86 13 Mobil: --------- +45 22 67 37 38 Adresse: ------- ZiteLab ApS ---------------- Solsortvej 44 ---------------- dk - 2000 F. --- og --- ---------------- ZiteLab ApS ---------------- Refshalevej 110a ---------------- dk - 1432 k?benhavn k Web: ----------- www.zitelab.dk CVR: ----------- 29178364 Bank: ---------- Sparbank Vest Ejer: ---------- ZSRK Group Holding
roger koenker
2007-Nov-08 16:44 UTC
[R] centile reference chart / clildren growth chart - what package/method to use
The lmsqreg package is by Vince Carey and is available from his website. There is an independent package with fortran routines from Tim Cole. Both packages implement the LMS method of Cole and Green. You might also want to consider alternative methods: an approach based on nonparametric quantile regression is described in: http://www.ncbi.nlm.nih.gov/sites/entrez? cmd=Retrieve&db=PubMed&list_uids=16143984&dopt=AbstractPlus Some comparison with the LMS method are reported there. url: www.econ.uiuc.edu/~roger Roger Koenker email rkoenker at uiuc.edu Department of Economics vox: 217-333-4558 University of Illinois fax: 217-244-6678 Champaign, IL 61820 On Nov 8, 2007, at 10:16 AM, Niels Steen Krogh wrote:> We are constructing growth charts (age/weight and age/length) for > children > with diagnosis that impacts weight/length. > > But we we don't know how to use R for producing growth charts. > > We are collection data of Age, Weight and Length. > The data are used to produce diagnosis-specific Growth charts (like > the CDC > Growth Charts: > http://www.cdc.gov/nchs/data/nhanes/growthcharts/set1clinical/ > cj41l017.pdf) > > Data-example is in the UsingR package as data(kid.weights). > > In the CDC-papers a LMS approch is described. Cole has programmed the > methology (I guess) in a <R 2.0.0 package called lmsqreg: > """ >> library(lmsqreg) > Error in library(lmsqreg) : > lmsqreg' is not a valid package -- installed < 2.0.0?) > """ > > Where to go forward in R. > Thanks for any "hints". > We are using R2.6.0 on win/linux > > /Niels > > > > Niels Steen Krogh > Konsulent > ZiteLab ApS > > Mail: ---------- nielssteenkrogh at zitelab.dk > Telefon: ------- +45 38 88 86 13 > Mobil: --------- +45 22 67 37 38 > Adresse: ------- ZiteLab ApS > ---------------- Solsortvej 44 > ---------------- dk - 2000 F. > --- og --- > ---------------- ZiteLab ApS > ---------------- Refshalevej 110a > ---------------- dk - 1432 k?benhavn k > > Web: ----------- www.zitelab.dk > CVR: ----------- 29178364 > Bank: ---------- Sparbank Vest > > Ejer: ---------- ZSRK Group Holding > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code.
John Kane
2007-Nov-08 19:33 UTC
[R] centile reference chart / clildren growth chart - what package/method to use
I think you have the reference for the lmreg package wrong. It looks like it is Carey VJ. LMSqreg: An R package for Cole?Green reference centile curves, 2002, http://www.biostat.harvard.edu/∼carey. The package seems to be available at http://www.biostat.harvard.edu/~carey/vcwww_4.html --- Niels Steen Krogh <nielssteenkrogh at zitelab.dk> wrote:> We are constructing growth charts (age/weight and > age/length) for children > with diagnosis that impacts weight/length. > > But we we don't know how to use R for producing > growth charts. > > We are collection data of Age, Weight and Length. > The data are used to produce diagnosis-specific > Growth charts (like the CDC > Growth Charts: >http://www.cdc.gov/nchs/data/nhanes/growthcharts/set1clinical/cj41l017.pdf)> > Data-example is in the UsingR package as > data(kid.weights). > > In the CDC-papers a LMS approch is described. Cole > has programmed the > methology (I guess) in a <R 2.0.0 package called > lmsqreg: > """ > > library(lmsqreg) > Error in library(lmsqreg) : > lmsqreg' is not a valid package -- installed < > 2.0.0?) > """ > > Where to go forward in R. > Thanks for any "hints". > We are using R2.6.0 on win/linux > > /Niels > > > > Niels Steen Krogh > Konsulent > ZiteLab ApS >