Help with error "No of time iterations exceeds iterMax; increase dtt or increase iterMax" for density function in R
How do I increase the iterMax?
I am using the library spatstat.
this is my script:
d660 <- density(unmark(control23_network.ppp), 660)
My Point pattern on linear network has:
1969 points Linear network with 20126 vertices and 21363 lines Enclosing window: rectangle = [-87.63141, -87.55547] x [41.75817, 41.83858] units
An example of it working is in the spatstat library with sample dataset:
data(chicago)
chicago
d60 <- density(unmark(chicago), 60)
plot(d60)
d60
This sample dataset has:
Point pattern on linear network 116 points Multitype, with possible types: assault, burglary, cartheft, damage, robbery, theft, trespass Linear network with 338 vertices and 503 lines Enclosing window: rectangle = [0.3894, 1281.9863] x [153.1035, 1276.5602] feet

spatstat::density.lpp. (Incorrectly capitalizing function names in R has the undesirable side-effect of misleading newbies.) - IRTFM