Hi,

 

How can I evaluate two or more expressions to return two or more columns?

 

The command is the following:

 

eval(parse(text=paste("with(bd,",as.character(var$Formula),")",sep="")))

 

And the expression to evaluate is for example: 

 

eval(expression(with(bd,Var1*100),with(bd,Var2*200)))

 

The execution is always for the last expression. I can't execute the two
expressions at the same time. It is possible?

 

Thanks,

Rita. 

 


        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to