R summing factors
===

I split some data according to  factors like:


     a <- factor(data$fact)
     b <- split(data,a)

Now I would like to add some of the factor together e.g.
 
    tot <- b$A+b$B

but I'm getting the following error,

    "sum" not meaningful for factors

Any help would be great.

Best.

