getLinearModel: run linear model

View source: R/GetStatTestByKeyGroup.R

getLinearModelR Documentation

run linear model

Description

run linear model

Usage

getLinearModel(
  .data,
  id,
  key,
  response,
  independentVariable,
  covariates,
  adjustmentMethod,
  ...
)

Arguments

.data

data for model

id

id column - a linear model will be run for each id value in .data

key

a unique identifier per id

response

a numeric column to be used as response variable in linear model

independentVariable

indepdendent variable to be used in linear model

covariates

list of covariate columns to be included in linear model

adjustmentMethod

p.value adjustment method to be applied

...

dots - accomodate additional arguments


cusom/CUSOM.ShinyHelpers documentation built on Oct. 23, 2023, 6:50 a.m.