[R-sig-eco] cozigam

2012-07-05 Thread Mahnaz Rabbaniha
Dear R users, I am analyzing data using a COZIGAM model The model is: res - cozigam(Clupeidae~s(temperature,salinity), constraint = proportional, family = gaussian) Clupeidae = abundance (from 132 observed 85 items=0 ), LDH = log of a distance that I am interested in, and SI3 = is a index

[R-sig-eco] plot data on base of lonlat

2012-07-05 Thread Mahnaz Rabbaniha
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

Re: [R-sig-eco] plot data on base of lonlat

2012-07-05 Thread Sarah Goslee
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

Re: [R-sig-eco] plot data on base of lonlat

2012-07-05 Thread Holland, Jeffrey D
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

Re: [R-sig-eco] plot data on base of lonlat

2012-07-05 Thread Holland, Jeffrey D
Hello Mahnaz, I have not used the cozigam package, but I would guess that if your longitude coordinates are for the western hemisphere you will want to have them negative. If they are for the eastern hemisphere then what you have is correct. You can check that they are displaying properly

[R-sig-eco] adehabitat in R

2012-07-05 Thread carolang
Hi, everybody i´m new in this, I need help for work in ENFA anlyses and determine the habitat selection of a marine specie, i have a data matrix with oceanographic variables linked to specie presence and i have another matrix with the same variables but wihtout the presence of the specie

Re: [R-sig-eco] adehabitat in R

2012-07-05 Thread Mathieu Basille
Dear Carolina, I already replied to your question on R-sig-Geo [1]. Please avoid cross-posting and continue there if any additional help is required. You may want to read the R posting guide [2], too. Mathieu. [1] https://stat.ethz.ch/pipermail/r-sig-geo/2012-July/015538.html [2]