Re: [R] use of formula in survey analysis with replicated weights

2013-06-28 Thread Milan Bouchet-Valat
Le vendredi 28 juin 2013 à 17:44 +0200, LE TERTRE Alain a écrit : > Hi there, > I would like to use a formula inside a call to withReplicates in a survey > analysis. > If the initial call with formula expressed inside the function works as > expected, defining the formula outside gives an error m

[R] use of formula in survey analysis with replicated weights

2013-06-28 Thread LE TERTRE Alain
Hi there, I would like to use a formula inside a call to withReplicates in a survey analysis. If the initial call with formula expressed inside the function works as expected, defining the formula outside gives an error message. See example below, adapted from survey:withReplicates help page. li