dismo

gbm.plot function: How can I insert a scale break in one of the plot charts

不想你离开。 提交于 2021-01-29 14:24:28
问题 I wish I could insert a scale break in my depth chart so that I can better visualize the variation within the data. I have some very extreme points (between 1000 and 4000 m), they are not the majority but they are preventing me from properly viewing the other values, closer to zero. I'm having a hard time inserting individual changes for each chart. Im using the dismo package. gbm.plot(ina, n.plots= 3, y.label= "fitted function", x.label= "", write.title= FALSE, common.scale= FALSE, cex.axis=

Is there a better way for handling SpatialPolygons that cross the antimeridian (date line)?

不羁岁月 提交于 2019-12-08 06:40:39
问题 TL;DR What is the best way in R to handle SpatialPolygons intersecting/overlapping the anti meridian at +/-180° of latitude and cut them into two sections along that meridian? Preface This is going to be a long one, but only because I'm going to include a lot of code and figures for illustration. I'll show you what my goal is and how I normally achieve that and then demonstrate how it all breaks together in a literal edge case. As the title suggests, I already found one possible solution to

Is there a better way for handling SpatialPolygons that cross the antimeridian (date line)?

試著忘記壹切 提交于 2019-12-06 14:55:16
TL;DR What is the best way in R to handle SpatialPolygons intersecting/overlapping the anti meridian at +/-180° of latitude and cut them into two sections along that meridian? Preface This is going to be a long one, but only because I'm going to include a lot of code and figures for illustration. I'll show you what my goal is and how I normally achieve that and then demonstrate how it all breaks together in a literal edge case. As the title suggests, I already found one possible solution to my problem, so I'll include that too. But it is not 100% clean and I'd like to see if somebody can come