[GRASS-user] use grass to process data for R biomod
Daniel Victoria
daniel.victoria at gmail.com
Sat Mar 2 04:09:20 PST 2013
Take a look at v.what.rast
It will upload raster values to an attribute table. That might do what you
are looking for.
Daniel
On Mar 2, 2013 4:44 AM, "孔晓泉" <u1mail2me at gmail.com> wrote:
> Hi,
>
> I'm working on my paper, which i will use R package "biomod". In
> biomod manual, i found it support such table format (other format? i
> don't konw, i am a newer to R and grass).
>
> > Idw X Y Var1 Var2 Var3 Var4 Var5 Sp281 Sp191
> > 73 -9.288 38.62 0.6683 4296 770.1 39.33 295.1 1 0
> > 74 -9.292 39.52 0.7596 4174 928.1 57.32 348.7 0 1
>
>
> - Idw: An Id to keep track of the row numbers
> - X and Y: longitude and latitude of our sites (used for plotting)
> - Var1 to Var5: Environmental variables (bioclimatic in that case)
> - Sp281 Sp191: Presence/absence of 2 species.
>
> I get the species data from web( shapefile format) and the
> envirmonental data (Rast format).
> For so far, i only kown "r.mapcalc new_var = if(var,env1)", so i can
> get the env1 data when specie is presence,but this is not what i want.
> so, someone can help me? give me some point, please.
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130302/d696f265/attachment.html>
More information about the grass-user
mailing list