Re: [R] odd behavior when multiplying data frame by an element

2008-12-12 Thread markleeds
disregard my last question. i forgot that d1 was a dataframe and was thinkiing it was a vector. i think i can fix what i was doing now. On Fri, Dec 12, 2008 at 8:52 PM, markle...@verizon.net wrote: could someone explain what is happening below ? I was trying to solve a related question on

[R] odd behavior when multiplying data frame by an element

2008-12-12 Thread markleeds
could someone explain what is happening below ? I was trying to solve a related question on the list and then , as I was solving it, I was getting strange answers and then I noticed below. It's obviously not a bug but I don't get it. Thanks. m <- data.frame(class = c("birds", "planes"), feather