Am 02.06.2004 10:13:49 schrieb(en) Peter Wolf:

what about:

>  mtdist<- as.matrix(dist(Fbg['Test']))
   dimnames(mtdist) <- list( Fbg[ 'Family' ], Fbg[ 'Family' ] )
   mtdist [ Fbg['Code']=="m" ,Fbg['Code']=="t" ]

Thanks, thats really what I want. I hope I can do that by myself, soon.


Martin

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to