1

I am using the plot function for biwavelet package and i keep getting this message

contour(): circular/long seglist -- set options("max.contour.segments") > 25000?

I tried the following code in R but it do not work

options(max.contour.segments > "25000")

How can I increase the max.contour.segments in R.

user207421
  • 305,947
  • 44
  • 307
  • 483
Joan
  • 88
  • 1
  • 8

1 Answers1

2

How about this?

options("max.contour.segments"= 300000)

or any positive integer you want to.
You can check the current value by:

options("max.contour.segments")
zyurnaidi
  • 2,143
  • 13
  • 14
  • 1
    thank you! when i tried it that it worked. but now i have another error Error in image.default(x$t, yvals, t(zvals), zlim = zlim, xlim = xlim, : invalid z limits – Joan May 09 '16 at 16:56
  • I'm not sure what is your exact case. But you might find these helpful: http://stackoverflow.com/questions/32054123/r-outer-function-error-in-persp-defaultx-y-z-invalid-z-limits; https://stat.ethz.ch/pipermail/r-help/2005-May/071152.html; https://support.bioconductor.org/p/6090/ – zyurnaidi May 09 '16 at 17:33