An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-ecology/attachments/20120705/1f81a111/attachment.pl>
plot data on base of lon&lat
3 messages · Mahnaz Rabbaniha, Sarah Goslee, Holland, Jeffrey D
I don't completely understand your question, but is it perhaps that west longitude is often represented as negative? Otherwise, please provide a reproducible example, using data from the cogizam package if you'd like, or at least a clear guide to where you've found this example and how it differs from your own data. Sarah
On Thu, Jul 5, 2012 at 11:38 AM, Mahnaz Rabbaniha <rab.mahnaz at gmail.com> wrote:
Hi groups i want plot of phytoplankton density on base of Lon & lat, as same as the description on the cozigam package. but the main problem is the form of matrix Lon parameters in the example on eggdata that is negative ,how changed the longitude to this form ? thanks all Mahnaz
Sarah Goslee http://www.functionaldiversity.org
Hello Mahnaz, Longitude is often expressed as distance or angle east of the prime meridian, so negative means it is west. If I am reading your question correctly, you are wondering how to change the longitude to make it negative? If so, you could create a new variable that is -1 times the original latitude for west coordinates, as in this example: newlongitude <- -1 * oldlongitude If the coordinates are for the eastern hemisphere you should leave them as positive values. Jeff __________________ Jeffrey D. Holland Assoc. Prof. of Landscape Ecology & Biodiversity Dept. of Entomology, Purdue University -----Original Message----- From: r-sig-ecology-bounces at r-project.org [mailto:r-sig-ecology-bounces at r-project.org] On Behalf Of Mahnaz Rabbaniha Sent: Thursday, July 05, 2012 11:38 AM To: r-sig-ecology Subject: [R-sig-eco] plot data on base of lon&lat Hi groups i want plot of phytoplankton density on base of Lon & lat, as same as the description on the cozigam package. but the main problem is the form of matrix Lon parameters in the example on eggdata that is negative ,how changed the longitude to this form ? thanks all Mahnaz _______________________________________________ R-sig-ecology mailing list R-sig-ecology at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-ecology