View Single Post
Old 08-23-2013, 04:26 AM   #4
jmw86069
Member
 
Location: RTP, NC, USA

Join Date: Jun 2009
Posts: 28
Default

Well the "breaks are not unique" part is straightforward, just try this:

Code:
bk <- unique(c(seq(-0.1,0, length=100), seq(0,0.4,length=100),seq(0.4,13,length=100)));
It is caused by concatenating several seq() results together, which share the same boundaries.

I'm testing out your code now, just have to create a matrix m1 to make it reproducible before I post back with an example that works.
jmw86069 is offline   Reply With Quote