Geographic Information Systems Asked by Ainhoa Gutiérrez Robledo on May 26, 2021
I’m trying to create random points using slpancs library in R. But I have this problem:
random_points<- csr(poly = "zona", 1000)
Error in poly[, 1] : incorrect number of dimensions
The poly
argument has to be a two-dimensional matrix with two columns, defining the polygon. Since you've passed a string "zona"
, the function has told you this isn't usable.
Answered by Spacedman on May 26, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP