Skip to content
Prev 284781 / 398502 Next

subset select="variable with a list of names"

Given your function definition, the function call needs to be

x(c("age","day"))

Whether it is good form to write a function like this, I will leave to others to comment. 


Hope this is helpful,

Dan

Daniel J. Nordlund
Washington State Department of Social and Health Services
Planning, Performance, and Accountability
Research and Data Analysis Division
Olympia, WA 98504-5204