search for: charadter

Displaying 1 result from an estimated 1 matches for "charadter".

Did you mean: character
2004 Nov 29
2
proper way to process dataframe by rows
This is a best practices / style question. The way I use RODBC is I something like this: > foo <- sqlQuery(db, "select * from foo") > apply(foo, 1, function{...}) That is, I use apply to iterate over each result -- row -- in the RODBC-produced dataframe. Is this how one generally wants to do this? My concern is that when apply iterates over the rows, it uses as.matrix()