jasco_lm: jasco_lm

Description Usage Arguments Details Examples

View source: R/model.R

Description

This is a wrapper for lm and a helper function for jasco_extract_lm.

Usage

1
jasco_lm(df, response, predictor, ...)

Arguments

response

unquoted name of the response variable found in the tibble

predictor

unquoted name of the response variable found in the tibb

data

a tibblele

Details

For a given tibble, this function allows to specify response variable and predictor in order to retrieve the coefficients of the linear model.

Examples

1
jasco_lm(tibble::tibble(a = 1:10, b = seq(10, 100, 10)), response = b, predictor = a)

mirkko-hub/jasco2 documentation built on Jan. 1, 2021, 2:53 p.m.