<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Dear Charles,</div><div>Do not too much the interpolations techniques. In which format are your data? Are they originally ArcGIS raster or grid data? </div><div>If yes, better practice to use the raster package with the extract function. </div><div>Else, I guess your approach is probably the best one.</div><div>Best</div><div>Wilfried</div><div><br></div><br><div><div>Le 7 déc. 2010 à 21:22, Charles Novaes de Santana a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Dear all,<br><br>First of all, I would like to say "Congratulations" to all the<br>developers of BIOMOD. It is a GREAT tool and I can not imagine the<br>hard work you need to mantain it working so nice! Thank your for<br>everything!<br><br>I am just starting to use Biomod, and I have a question that maybe is<br>a tipical "newbie" question :)<br><br>My biotic data (presence of species) are not at the same grid that my<br>environmental data (temperature and precipitation). And my<br>environmental data are at a regular grid while my biotic data are at<br>points irregularly spaced.<br><br>I think the best thing to do in this case is to make an interpolation<br>of my environmental data to find the values of temperature and<br>precipitation at the same grid points of my biotic data. To do it, I<br>am using the function "interp" from the package "akima". Am I correct?<br>Is ther another option?<br><br>Here, just an example similar of my case: environmental data at a<br>regular gridpoint. Biotic data at points irregularly spaced.<br><br>environmental$lat <- c(2.5, 3.0, 3.5, 4.0, 4.5, 5.0, 5.5, 6.0, 6.5,<br>7.0, 7.5, 8.0)<br>environmental$lon <- c(-38.5, -38.0, -37.5, -37.0, -36.5, -36.0,<br>-35.5, -35.0, -34.5, -34.0,-33.5, -33.0, -32.5, -32.0, -31.5, -31.0)<br>biotic$lat <- c(4.222, 4.250, 4.34, 4.7, 4.71, 4.77, 4.811, 4.99)<br>biotic$lon<- c(-35.1, -34.8, -34.7, -34.4, -34.38, -34.21, -33.23, -32.77)<br><br>biotic$temp <- interp (environmental$lon, environmental$lat,<br>environmental$temp, biotic$lon, biotic$lat)<br><br>Thank you in advance for any help!<br><br>best regards,<br><br>Charles<br><br>-- <br>Um axé! :)<br><br>--<br>Charles Novaes de Santana<br>PhD student - Global Change<br>Laboratorio Internacional de Cambio Global<br>Department of Global Change Research<br>Instituto Mediterráneo de Estudios Avanzados(CSIC/UIB)<br>Calle Miquel Marques 21, 07006<br>Esporles - Islas Baleares - España<br>_______________________________________________<br>Biomod-commits mailing list<br><a href="mailto:Biomod-commits@lists.r-forge.r-project.org">Biomod-commits@lists.r-forge.r-project.org</a><br>https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/biomod-commits<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-size: 12px; "><div>--------------------------</div><div>Dr. Wilfried Thuiller</div><div>Laboratoire d'Ecologie Alpine, UMR CNRS 5553</div><div>Université Joseph Fourier</div><div>BP53, 38041 Grenoble cedex 9, France</div><div>tel: +33 (0)4 76 51 44 97</div><div>fax: +33 (0)4 76 51 42 79</div><div><br></div><div>Email: <a href="mailto:wilfried.thuiller@ujf-grenoble.fr">wilfried.thuiller@ujf-grenoble.fr</a><br>Home page: <a href="http://www.will.chez-alice.fr/">http://www.will.chez-alice.fr</a><br>Website: <a href="http://www-leca.ujf-grenoble.fr/equipes/tde.htm">http://www-leca.ujf-grenoble.fr/equipes/tde.htm</a><br><br>FP6 European MACIS project: <a href="http://www.macis-project.net/">http://www.macis-project.net</a><br>FP6 European EcoChange project: <a href="http://www.ecochange-project.eu/">http://www.ecochange-project.eu</a></div><div><br></div></span></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></body></html>