Dear RGeoS Developers and Users,
I'm creating a db and setting a field to "w" to use as weighting for calculating CG, I and GIC. I set the field to "w" using the code:
anch.db <- db.locate(anch.db,12,"w")
When I check, field 12 (CPUE) is indeed weighted (listed with "w" for Locator). However, when I go to plot the data, using simply:
plot(anch.db)
The point sizes are not weighted by CPUE (they are all the same size and small). I can't figure out why the "w" isn't being used in the plot call (it worked for a previous plot with identical settings).
Is there 1) a way to manually weight the size of the points by "w" (e.g., "cex") for a db? or 2) a step that I am missing to ensure the weights are being incorporated in calculations?
The plots were really just a check for me, but now I am concerned that the weighted variable isn't being used when calculating CG either.
I attached the plots for your reference.
Thanks in advance,
Elizabeth