I think I located the problem. the data frame associated with my spatial object
(Insitu_sp) contains some NAs. And in this case, the function plot does not
like NAs. It simply behaved strangely. The code below did the trick :
idx = is.na(Insitu[,"SPM"])
ptsize = 0.35*(sqrt(Insitu[!idx,"SPM"])+1)
p
The symbols function may work better than plot for this situation.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Beha
2 matches
Mail list logo