Displaying 1 result from an estimated 1 matches for "pctbaz".
2006 May 04
3
SQL like manipulations on data frames
...t * from foo where bar < 10 ;
is similar to
foo[foo["bar"] < 10,]
I'm just wondering how many other SQL-like manipulations can be done
on a data frame? As an extreme example, is it reasonable to assume
there is an R equivalent to:
select bar, bat, baz, baz*100 as 'pctbaz' from foo where bar like %xyz
% order by bat, baz desc ;
Regards,
- Robert
http://www.cwelug.org/downloads
Help others get OpenSource software. Distribute FLOSS
for Windows, Linux, *BSD, and MacOS X with BitTorrent