That throws the same error:
x.out <- setx(z.out, egalitarianism =
mean(miin1$egalitarianism)-sd(miin1$egalitarianism))
Error in eval(expr, envir, enclos) :
..1 used in an incorrect context, no ... to look in
not sure why.
On Sun, May 17, 2009 at 12:09 AM, Kosuke Imai <kimai(a)princeton.edu> wrote:
> As a temporary "fix", does the following work?
x.out <- setx(z.out, egalitarianism =
>
mean(miin1$egalitarianism)-sd(miin1$egalitarianism))
> Kosuke
> On May 15, 2009, at 10:39 PM, Donald Braman wrote:
> I'm trying to set an independent
variable to one sd above and below the
>> mean. I can set the number directly, but as the results below show, I
can't
>> set it to a variable. Any easy way to do this?
>
>> > e.low <-
mean(miin1$egalitarianism)-sd(miin1$egalitarianism)
>> > e.low
>> [1] 1.975
>> > e.high <- mean(miin1$egalitarianism)+sd(miin1$egalitarianism)
>> > e.high
>> [1] 2.938
>>
>> >
x.out <- setx(z.out, egalitarianism = e.low)
>> Error in eval(expr, envir, enclos) :
>> ..1 used in an incorrect context, no ... to look in
>>
>> >
x.alt <- setx(z.out, egalitarianism = e.high)
>> Error in eval(expr, envir, enclos) :
>> ..1 used in an incorrect context, no ... to look in
>>
>> >
x.out <- setx(z.out, egalitarianism = 1.975)
>> > x.alt <- setx(z.out, egalitarianism = 2.983)
>>
>
>
>> Donald Braman
>> Associate Professor of Law
>> The George Washington University Law School
>> 2000 H Street, NW | Washington, DC 20052
>> tel (202) 994-0572 | fax (202) 994-3377
>>
http://www.law.gwu.edu/Faculty/profile.aspx?id=10123
>>
http://research.yale.edu/culturalcognition
>>
http://ssrn.com/author=286206
>