JohnsonHsieh / iNEXT

R package for interpolation and extrapolation
https://JohnsonHsieh.github.com/iNEXT
57 stars 26 forks source link

Warning message and not plotting confidence interval #18

Open wmesquita2 opened 7 years ago

wmesquita2 commented 7 years ago

Hi,

Thanks for the package, really usefull. I´m getting a issue that I can´t fix: " Warning messages: 1: In levels<-(*tmp*, value = if (nl == nL) as.character(labels) else paste0(labels, : duplicated levels in factors are deprecated"

Not sure if it´s related to, but I cannot get the confidential interval plotted for q=1 and 2 nor the sample coverage rarefection curve. The extrapolated dotted line are plotted, bur not the confidential interval.

Thanks in advance for you help. Walter

inext_fig-walter

JohnsonHsieh commented 7 years ago

Hi Walter,

  1. The warning message is due to I use non-regular method to wright ggiNEXT function. However, it does not affect plotting confidence interval.
    " Warning messages:
    1: In levels<-(*tmp*, value = if (nl == nL) as.character(labels) else paste0(labels, :
    duplicated levels in factors are deprecated"
  2. In your cases, the confidence interval for q =1, 2 are working fine. The problem is that these interval are too smaller than q = 0 (almost be ignore).