search for: svycprod

Displaying 1 result from an estimated 1 matches for "svycprod".

Did you mean: svyciprop
2003 Feb 12
2
Various Errors using Survey Package
...then svydesign runs ok. I then tried using the svymean function. In the following example, if I specify na.rm=TRUE, I get the error below: > svymean(nhis.df$crc10yr, design=nhis.design, na.rm=TRUE) Error in rowsum.default(x, strata) : Incorrect length for 'group' I traced this to the svyCprod call within svymean. SvyCprod calls rowsum and the group argument ("strata") appears to be the full length of that column rather than the subset with non-missing data. Error 3). I then tried svymean on another variable with na.rm=FALSE. I got the following error: > svymean(nhis...