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
t.org] On Behalf Of servet ahmet çizmeli
> Sent: Thursday, December 10, 2009 6:18 AM
> To: r-help@r-project.org
> Subject: [R] plotting with varying dot sizes
>
> Dear all,
>
> I am trying to plot on a spatial map the punctual measurements of the
> data
> located in t
Dear all,
I am trying to plot on a spatial map the punctual measurements of the data
located in the file (https://opengeo.metu.edu.tr/test.csv). I'd like to have
the dots in some way proportional to the magnitudes of the measurements.
I have difficulties with the code given below: The dot sizes
3 matches
Mail list logo