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

2013-06-28 Thread LE TERTRE Alain
Thanks for the workaround and the explanation Alain De : Milan Bouchet-Valat [nalimi...@club.fr] Date d'envoi : vendredi 28 juin 2013 19:20 À : LE TERTRE Alain Cc : 'R-help@r-project.org' Objet : Re: [R] use of formula in survey analysis

[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