Dear R user,

Thanks for this sunday attention about my problem. I have a data.frame like
this example:

count_myData

ID: 1,1,1,1,2,2,2,3,3,3,3,3,4,4,4,4,4,4
count: 4,4,4,4,3,3,3,5,5,5,5,5,6,6,6,6,6,6

this data.frame derived from this code

count_myData <- ddply(sample, .(ID), transform, sum = sum(Z >=0, na.rm = T))

with this I have the number of sample inside of area with ID 1, ID 2 ID 3
etc etc.
Now I need a data.frame like this

new_myData
ID:1,2,3,4
count:4,3,5,6

Thanks Gianni

	[[alternative HTML version deleted]]

