Probably, assuming that function returns a ggplot object. You will need to 
identify the levels of the factor used for distinguishing groups, and add a 
scale_colour_manual() to the ggplot object with colors specified in the same 
order as those levels.

Support for obscure packages is technically off-topic here ... if you need a 
more specific answer you may need to correspond with the package authors or use 
their suggested support resources.

On October 22, 2019 2:18:49 AM PDT, Luigi Marongiu <marongiu.lu...@gmail.com> 
wrote:
>Dear all,
>is it possible to provide custom color to the rarefaction curve of the
>package iNEXT (ggiNEXT)?
>If I have these data:
>```
>library(iNEXT)
>library(ggplot2)
>data(spider)
>out <- iNEXT(spider, q=0, datatype="abundance")
>ggiNEXT(out, type=1)
>```
>can i colour the lines with, let's say, yellow and green?
>Thank you

-- 
Sent from my phone. Please excuse my brevity.

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to