[R] Strange Expression
murdoch at stats.uwo.ca
Fri Mar 3 13:39:11 CET 2006
On 3/3/2006 7:09 AM, A Mani wrote:
> I have a dataframe with a column 'col' of expressions of the form
> 2*3+4*5+6*7 and substrings thereof.
Stored in what form? It sounds from below that they may be character
vectors or factors. It would be easier to help if you gave a
>> eval(2*3+4*5+6*7) is ok.
> But I want it done on that column... nothing seems to work
>> cil <- dataframe$col
> I want the elements of the column evaluated.
> A. Mani
> Member, Cal. Math. Soc
> [[alternative HTML version deleted]]
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
More information about the R-help