Re: [R] Svy function doesn't work nested in user-defined function

2010-05-20 Thread David Freedman
I'm not sure that this is the problem, but are you certain that the variable 'con' is in audit ? You check outside the function just really tells you that X and SEX are in audit. hth, david freedman (good to see another CDCer using R) -- View this message in context: http://r.789695.n4.nabble.

[R] Svy function doesn't work nested in user-defined function

2010-05-20 Thread Sabatier, Jennifer F. (CDC/OID/NCHHSTP)
Hi R-help, I posted about this late yesterday but got no response. I may have put TMI in the original request. Not to mention I couldn't cut and paste yesterday because I was working R off a non-network computer while asking for help on a network computer. Essentially, I have this user-define