我在R中的"permute“包中准确定义我的排列设计/层次结构时遇到了麻烦。给出一组假设的样地,在这些样地中,我记录了物种的出现情况,我希望在保持每个样地中的物种数量的同时,还保持整个种子库中个体物种的总体丰富度。(dat) # represents the overall number of observations of each species
relative_abund = colSums(dat)# use permutation design/control to shuffle data, s