Closed whatever closed 12 years ago
Currently setx requires something like:
setx(z.out, age = sum(turnout$age))
where turnout is the data.frame and age is a column within turnout
turnout
age
Let's support syntax that's like this: setx(z.out, age = sum(age))
setx(z.out, age = sum(age))
That is, intelligently process parameters in the function. This can be simply done with the with function
with
Making this a requirement for beta, since it immensely simplifies using Zelig, and makes function calls make semantic sense
That syntax now works. I think it's a huge intuitive improvement
Currently setx requires something like:
setx(z.out, age = sum(turnout$age))
where
turnout
is the data.frame andage
is a column withinturnout
Let's support syntax that's like this:
setx(z.out, age = sum(age))
That is, intelligently process parameters in the function. This can be simply done with the
with
function