[R] efficiently replacing values in a matrix

Jim Lemon jim at bitwrit.com.au
Thu Apr 17 12:00:13 CEST 2008


Rolf Turner wrote:
> On 17/04/2008, at 9:33 AM, Charles C. Berry wrote:
> 
> 	<snip>
> 
>>I'll lay odds that Matthew's 'matrix' is actually a data.frame, and  
>>I'll not be surprised if the columns are factors.
> 
> 
> 	<snip>
> 
> I suspect that you're right.
> 
> ***Why*** can't people distinguish between data frames and matrices?
> If they were the same <expletive deleted> thing, there wouldn't be two
> different terms for them, would there?
> 
Why Rolf, haven't you ever heard of Whorf's hypothesis? Because R users 
are surrounded by rectangular wads of data, it's surprising that we 
don't have hundreds of words for the same thing.

Jim



More information about the R-help mailing list