Dear R-ers: I'm using Thomas Lumley's "survey" package.
I'd like to compute survey ratio estimates (numerator=~utd , denominator=~one) for each of serval domains using by=~factor(domain). I can't quite work out the syntax for the call to the "svyby" function. I try: svyby( numerator=~ utd, denominator=~one , by=~ factor(domain) , design=nis , svyratio ) and I get an error that says that "domain" is not found. (nis is the design object) Can someone steer me into the correct syntax? Thanks, Phil Smith CDC [[alternative HTML version deleted]] ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html