Generate bootstrap replicates of the sample center
bootrep_center( .data, R = 4000, N = nrow(.data), method = "proj", dist = "dirichlet", in_scale = "linear", out_scale = "linear", denom = NULL, enframe = FALSE )
.data | All-numeric data frame or matrix with taxa as columns. |
---|---|
R | Number of bootstrap replicates. |
N | Number of trials for multinomial resampling. |
method | Method for computing the center: "proj", "gm", or "rss". |
dist | Distribution for drawing the bootstrap weights: "dirichlet" or "multinomial". |
in_scale | "linear" (default) or "log". |
out_scale | "linear" (default) or "log". |
denom | Taxa to use in the denominator; if NULL, use all taxa. |
enframe | Whether to "enframe" the bootstrap estimates in a tibble. |