在R语言中计算物种多样性时,如何将每木检尺数据转换成物种丰富度数据呢?图1转换成图2
图1
图2
收起
aggregate(data, by=list(data$Plotname, data$Sepcies), sum);
summary 好像也行。
报告相同问题?