Skip to content
Prev 247663 / 398503 Next

matrix manipulations

On Mon, Jan 17, 2011 at 10:37:42PM +0000, Monica Pisica wrote:
Let me add a comment on factors.

Character vectors are easier to manipulate and factors carry additional
information. A balance between their uses depends on the application. A possible
strategy is to use character vectors, when the sequence of categorical data
should be manipulated, and convert to a factor, when needed. There is an R Wiki
page with some tips concerning factors at
  http://rwiki.sciviews.org/doku.php?id=tips:data-factors:factors

Petr Savicky.