[R] Min-Max Normalization for Class RasterStack?

2012-02-26 Thread Cornelius Senf
Is there a way to normalize each layer of a RasterStack between 0 and 1 based on the minimum and maximum of each layer? Thanks! Cornelius -- __ Cornelius Senf, Bsc. Humboldt-University of Berlin Geography Department Geomatics Lab www.hu-geomatics.de

[R] dbWriteTable() command (package RPostgreSQL) does not accept append=TRUE statement

2012-02-25 Thread Cornelius Senf
Where: "tar" is a list of raster files, "con" a database connection file and "modis" the database table to be created. Thanks! Cornelius -- __ Cornelius Senf, Bsc. Humboldt-University of Berlin Geography Department Geomatics Lab www.hu-geomat