search for: adjwald

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

2010 May 20
2
Svy function doesn't work nested in user-defined function
...'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-defined function: test <- function(X){ chisq <- svychisq(~X + SEX, design=audit, statisic="adjWald", round=4) } test(con) "con" is a data variable in my design object audit. When I just run: chisq <- svychisq(~X + SEX, design=audit, statisic="adjWald", round=4) It works just fine. It's only when it's nested in the function test() that it falls a...