Re: [R] efficiently replacing values in a matrix

From: Matthew Keller <mckellercran_at_gmail.com>
Date: Wed, 16 Apr 2008 15:56:26 -0600

Yes Chuck, you're right.

Thanks for the help. It was a data.frame not a matrix (I had called as.matrix() in my script much earlier but that line of code didn't run because I misnamed the object!). My bad. Thanks for the help. And I'm VERY relieved R isn't that inefficient...

Matt

On Wed, Apr 16, 2008 at 3:39 PM, Rolf Turner <r.turner_at_auckland.ac.nz> 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?
>
> cheers,
>
> Rolf Turner
>
> ######################################################################
> Attention:This e-mail message is privileged and confidential. If you are
> not theintended recipient please delete the message and notify the
> sender.Any views or opinions presented are solely those of the author.
>
>
>
> This e-mail has been scanned and cleared by
> MailMarshalwww.marshalsoftware.com
> ######################################################################
>

-- 
Matthew C Keller
Asst. Professor of Psychology
University of Colorado at Boulder
www.matthewckeller.com

______________________________________________
R-help_at_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.
Received on Wed 16 Apr 2008 - 21:58:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 17 Apr 2008 - 12:30:30 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive