Re: [R] y2z question (AGD)

2015-10-26 Thread David L Carlson
9 NA > 5 M5.8 1 2.002 > > > David L. Carlson > Department of Anthropology > Texas A&M University > > > > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Martin Canon > Sent: Sunday, October 25, 2015 7

Re: [R] y2z question (AGD)

2015-10-26 Thread William Dunlap
9 NA > 5 M5.8 1 2.002 > > > David L. Carlson > Department of Anthropology > Texas A&M University > > > > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Martin Canon > Sent: Sunday, October 25, 2015 7:03 AM > T

Re: [R] y2z question (AGD)

2015-10-26 Thread Martin Canon
artment of Anthropology > Texas A&M University > > > > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Martin > Canon > Sent: Sunday, October 25, 2015 7:03 AM > To: R help > Subject: [R] y2z question (AGD) > > Hi

Re: [R] y2z question (AGD)

2015-10-25 Thread David L Carlson
9.0 12 -0.635 4 F NA 9 NA 5 M5.8 1 2.002 David L. Carlson Department of Anthropology Texas A&M University -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Martin Canon Sent: Sunday, October 25, 2015 7:03 AM To: R help Subject

[R] y2z question (AGD)

2015-10-25 Thread Martin Canon
Hi to all. I've been trying to calculate weight-for-age z-scores with the y2z command (AGD package). However, I keep getting strange results. My hypothesis is that missings are the problem. My dataframe looks like this: data <- structure(list(sex = structure(c(3L, 3L, 3L, 2L, 3L), .Label = c("