I have some data:
transaction <- c(1,2,3); date <- c(\"2010-01-31\",\"2010-02-28\",\"2010-03-31\"); type <- c(\"debit\", \"debit\", \"credit\"); amo
type will be converted from a character to a factor. The main difference is that factors have predefined levels. Thus their value can only be one of those levels or NA. Whereas characters can be anything.