Hello to all --
My apologies for not providing a complete example.
This is what I am trying to do:
my.data.frame <- insert.col(my.data.frame, "@END", 10, fill.expression=???)
Where I have a different fill expression (and column name) for each of the
columns being inserted. I tried to provide a list of expressions with c(),
but it didn't work out.
This is a trivial example, but I suspect that the solution would be helpful
for something else I'm trying to do.
Thanks again!
Sarah
Hello all --
Does anyone know if/how it's possible to fill multiple inserted columns
with different expressions?
Thanks!
Sarah
______________________________________________
Sarah Henderson
Department of Health Care & Epidemiology
University of British Columbia
www.firesmoke.ubc.ca
Office: 604.822.1274
Cell: 604-910-9144
Fax: 604.822.9588
Michael Smith Foundation for Health Research Trainee
Canadian Institutes of Health Research Trainee
--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu. To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message: unsubscribe s-news
|