svymean w/ svyby is working for me... > svyby(~visitcnt, ~agegrp3.f, svymean, design=svydes) agegrp3.f visitcnt se.visitcnt 18-44 18-44 8.755552 0.4953235 45-64 45-64 10.131555 0.5347806 65+ 65+ 9.588802 0.4323629
svyquantile is working for me... > svyquantile(~visitcnt, quantiles=c(.25, .5, .75), ties="rounded", > design=svydes) 0.25 0.5 0.75 visitcnt 3.021468 6.039823 11.49518 svyquantile w/ svyby is bombing on me... > svyby(~visitcnt, ~agegrp3.f, svyquantile, quantiles=c(.25, .5, .75), > ties="rounded", design=svydes) Error in object$coefficients : $ operator is invalid for atomic vectors i'm not sure what i'm missing/not understanding. any help would be much appreciated. thanks, marc zodet [[alternative HTML version deleted]] ______________________________________________ R-help@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.