search for: percentcover

Displaying 2 results from an estimated 2 matches for "percentcover".

2008 Jan 09
0
formating ftable
...e and xtabs to get total counts of species per location per hight category (understory, midstory and overstory). i can save the data in almost the format i would like it to be - but not quite. Here it is an example of what i get: x - is a dataframe with the following columns: LocationID, Species, PercentCover, Category where Category tells if the Species belongs to understory, midstory or overstory y1 <- ftable(xtabs(PercentCover ~ LocationID + Species + Category, data=x))y2 <- format(y1, quote = FALSE, sep = “,”)write.table(y2, “test1.csv”, row.names = FALSE, col.names = FALSE, sep = “,”)If i...
2008 Jan 10
0
formatting ftable
...ble and xtabs to get total counts of species per location per hight category (understory, midstory and overstory). i can save the data in almost the format i would like it to be - but not quite. Here it is an example of what i get: x - is a dataframe with the following columns: LocationID, Species, PercentCover, Categorywhere Category tells if the Species belongs to understory, midstory or overstory y1 <- ftable(xtabs(PercentCover ~ LocationID + Species + Category, data=x))y2 <- format(y1, quote = FALSE, sep = “,”)write.table(y2, “test1.csv”, row.names = FALSE, col.names = FALSE, sep = “,”)If i re...