bootstrap: Bootstrap

Description Usage Arguments Value Examples

Description

This function generates bootstrapped models with glm/glmm .

Usage

1
2
bootstrap(f_species = NA, df = NA, analysis = "glm", n_bootstrap = NA,
  pop_size = NA, stratified = F)

Arguments

f_species

formula to be used in the analysis

df

data frame to be used in the analysis

analysis

type of the analysis, "glm" and "glmm" currently available, "bayes" coming soon

n_bootstrap

number of bootstraps

pop_size

number of individuals

stratified

logical wether a stratified or a pooled bootstrap should be performed

Value

returns betas of the bootstrapped analysis

Examples

1

aMilles/rsfsim documentation built on May 15, 2019, 4:20 a.m.