boot_f_lm: boot_f_lm

View source: R/boot_f_lm.R

boot_f_lmR 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


jernejjevsenak/dendroTools documentation built on Feb. 2, 2024, 7:13 p.m.