simfun2: rarefy once (maybe) and spit out F statistic(s)

Description Usage Arguments

View source: R/Rarefaction_funs.R

Description

rarefy once (maybe) and spit out F statistic(s)

return vector (or matrix) of F statistics

simulate one community, then rarefy multiple times and return the vector (or matrix) of F statistics

Usage

1
2
3
4
5
6
simfun0(matList, tList, ttt, rarefy = TRUE, bstat = "Fstat")

simfun1(matList, tList, ttt, bstat, rarefy = TRUE, .progress = "text",
  nsim = 100)

simfun2(..., bstat, rarefy = TRUE, .progress = "text", nsim = 100)

Arguments

matList

list of community matrices

tList

list of target sizes for each community

ttt

treatment vector

rarefy

(logical) perform rarefaction?

bstat

beta diversity statistic (see calcbeta_stat)

.progress

passed to simfun1

nsim

number of simulations

...

arguments passed to simfun1


bbolker/betararef documentation built on Sept. 17, 2021, 8:49 a.m.