> Hello:
> > >
> > > Does anyone know if there exists a package that handles methods for [
> for
> > > dist objects?
> > >
> > > I would like to access a dist object using matrix notation
> > >
> > > e.g.
> > >
> > > dMat = dist(x)
> > > dMat[i,j]
You can use the [[ operator defined f
On Tue Mar 13 00:21:22 CET 2007 Gavin Simpson wrote:
> On Mon, 2007-03-12 at 16:02 -0700, Sender wrote:
> Thanks for the suggestion Christian. I'm trying to avoid expanding the dist
> > object to a matrix, since i'm usually working with microarray data which
> > produces a distance matrix of size
On Mon, 2007-03-12 at 16:02 -0700, Sender wrote:
> Thanks for the suggestion Christian. I'm trying to avoid expanding the dist
> object to a matrix, since i'm usually working with microarray data which
> produces a distance matrix of size 5000 x 5000.
>
> If i can keep it in its condensed form i t
Thanks for the suggestion Christian. I'm trying to avoid expanding the dist
object to a matrix, since i'm usually working with microarray data which
produces a distance matrix of size 5000 x 5000.
If i can keep it in its condensed form i think it will speed things up.
Is my thinking correct?
On
On Mon, 12 Mar 2007, Sender wrote:
> Hello:
>
> Does anyone know if there exists a package that handles methods for [ for
> dist objects?
>
> I would like to access a dist object using matrix notation
>
> e.g.
>
> dMat = dist(x)
> dMat[i,j]
Try
dMat <- as.matrix(dist(x))
Christian
*** --- ***
Hello:
Does anyone know if there exists a package that handles methods for [ for
dist objects?
I would like to access a dist object using matrix notation
e.g.
dMat = dist(x)
dMat[i,j]
Thanks in advance to anyone who can point me in the right direction.
[[alternative HTML version delet