If you're data.frame had a
column named 'a', what should
mm$a-1
do? Print out mm$a-1, or subtract 1 from mm$a ? If you want your
original matrix back (i.e., object of class matrix), you could just use
save/load functions.
David found a way to get this in. I read the file in, converted to
numeric.
mm$a-1 subtracts 1 from a,
and using
mm$`a-1` prints out the a-1 column...
I stand corrected, and agree that it is probably not worth the trouble.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.