Re: [R] defining group colours in a call to rda

2020-08-04 Thread Abby Spurdle
Hi, Your example is not reproducible. However, I suspect that the following is the problem: c("red","green","blue","aquamarine","magenta")[MI_fish_all.mrt$where] Here's my version: where = c (3, 3, 8, 6, 6, 9, 5, 5, 9, 3, 8, 6, 9, 6, 5, 9, 5, 3, 8, 6, 9, 6, 5, 9, 5, 3, 3, 8, 6, 6, 9, 5, 5, 9,

[R] defining group colours in a call to rda

2020-08-04 Thread Andrew Halford
Hi, I've been trying to use the output on group membership of the final leaves in a MRT analysis to define my own colours, however I am not getting the result I'm after. Here is the code fish.pca <-rda(fish_all.hel,scale=TRUE) fish.site <- scores(fish.pca,display="sites",scaling=3) fish.spp <-