fixedGroup: Linear model with group effect

Description Usage Arguments Value Examples

View source: R/estimate.R

Description

fixedGroup fits and returns a linear model with group as a fixed effect.

Usage

1

Arguments

df

A data frame with columns log2inty and group for one PTM site.

Value

An lm model object.

Examples

1
2
3
4
5
x <- data.frame(
    group=rep(c("1", "2"), 3),
    log2inty=rep(c(10, 12), 3) + rnorm(6)
)
fixedGroup(x)

tsunghengtsai/MSstatsPTM documentation built on Oct. 4, 2020, 5:51 p.m.