plotIndiv last request before patch

Issue #45 resolved
Kim-Anh Le Cao repo owner created an issue

Would it be possible in the legend to show a 'lty = 1' instead of an 'a' when pch is not specified?

See example

data(nutrimouse)

X <- nutrimouse$lipid

Y <- nutrimouse$gene

nutri.res <- rcc(X, Y, ncomp = 3, lambda1 = 0.064, lambda2 = 0.008)

Here pb with legend

plotIndiv(nutri.res, add.legend = TRUE, plot.ellipse = TRUE, group = nutrimouse$genotype)

Here (I believe you fixed that already, if pch is notified but NOT ind.names= FALSE, still shows ind.names. pch should be prioritary.

plotIndiv(nutri.res, add.legend = TRUE, plot.ellipse = TRUE, group = nutrimouse$genotype, pch = 16)

Here legend shows ok when pch specified and ind.names = F

plotIndiv(nutri.res, add.legend = TRUE, plot.ellipse = TRUE, group = nutrimouse$genotype, pch = 16, ind.names = FALSE)

Comments (5)

  1. Florian Rohart

    When I run that on the plotIndiv function I have from devel.graphique (which is the one from graphique at this time I believe), the last two examples give the same results (which is good). However, the legend for ppar is missing: there's no orange point

    Rplot.jpg

  2. Log in to comment