formula.HLM: Execute lmer using formula

View source: R/basics.R

formula.HLMR Documentation

Execute lmer using formula

Description

Wrapper to compute with hierarchical linear model

Usage

## S3 method for class 'HLM'
formula(
  y,
  x,
  r0,
  formula = "y ~ (1 | samples) + x",
  val = ifelse(is.numeric(x), "", "TRUE"),
  return.all = F
)

Arguments

y

list object of sequencing data

x

fixed effects

r0

outcome

formula

formula for the hierarchical model

ttest.flag

(default = F) is flag for computing ttest?

Value

pvalues of hlm


Jerby-Lab/opipes documentation built on Oct. 7, 2022, 12:28 p.m.