[R] Bug in "transform"?
vitosmail at rambler.ru
Tue Dec 2 17:14:42 CET 2008
Here is a weird behavior of transform function:
Error in data.frame(`_data`, e[!matched]) :
arguments imply differing number of rows: 32, 1
instead, this works:
also works if applied in turn:
I often need to use this for creating new variables in data frame from
those already present.
More information about the R-help