Dear all,

I intend to do some statistics with my raster table, like correlations or
regression analysis. For that, I need that each pixel be in one line, that
is, there is no count > 1. So, all columns should have the same number of
lines, when I compare (combine) rasters.

I'd like to know if there is a way to create lines and copy the values of
the lines, when count is > 1. So, even though values were the same, and
count twice (or more), I need that those values be repeated in different
lines.

Example:

My raster table now:

COUNT_Forest KTOTAL500X FOREST_BUF
1 28006 50
1 27953 50
1 12726 150
2 12725 1
1 12722 50
1 7600        1
2 586      1000
10 586        1

My new raster table (the ideal one):

COUNT_Forest KTOTAL500X FOREST_BUF
1 28006 50
1 27953 50
1 12726 150
1 12725 1
1 12725 1
1 12722 50
1 7600        1
1 586      1000
1 586      1000
1 586        1
1 586        1
1 586        1
1 586        1
1 586        1
1 586        1
1 586        1
1 586        1
1 586        1
1 586        1

 After that, I'd like to join tables using KTOTAL500X column. How can I do
that?

Thank you very much.

Best regards

Simone.
--------------------------------------------------
Simone R. Freitas
Universidade Federal do ABC (UFABC)
Centro de Ciências Naturais e Humanas (CCNH)
R. Catequese, 242
Bairro Jardim
09090-400 - Santo André - SP
Brasil
http://srfreitas.webs.com/

	[[alternative HTML version deleted]]

