[R] tapply error svyby function survey package

2014-11-12 Thread Martin Canon
) d7c ovt se No estable No estable 70.92344 1.37460 Estable Estable 74.53719 4.16954 What could be the problem? Regards. Martin Canon Colombia, South America __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] tapply error svyby function survey package

2014-11-12 Thread Martin Canon
...@gmail.com wrote: try resetting your levels? if that doesn't work, please dput() an example data set that we can test with :) thanks! sii.design - update( sii.design , d6 = factor( d6 ) ) On Wed, Nov 12, 2014 at 7:59 AM, Martin Canon martin.ca...@gmail.com wrote: Hi. I'm trying

Re: [R] y2z question (AGD)

2015-10-26 Thread Martin Canon
lson > Department of Anthropology > Texas A 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 <r-help@r-project.org> > 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 =