boot_f_lm {dendroTools}R Documentation

boot_f_lm

Description

Generate R bootstrap replicates of a lm function applied to data.

Usage

boot_f_lm(data, index, lm.formula)

Arguments

data

data frame with variables for model fitting

index

indices to be used for calculation

lm.formula

object of class formula to be passed into lm function

Value

A matrix with bootstrapped estimates of r squared and adjusted r squared

References

https://www.datacamp.com/community/tutorials/bootstrap-r


[Package dendroTools version 1.2.13 Index]