Skip to contents

Create a linear model with a single predictor age for a given variable

Usage

lm_age(data, variable)

Arguments

data

a data frame

variable

a character string with the name of a column in the data frame

Value

a tidy tibble with the estimate, standard error, statistic, and p.value for the age term