tidyEstimates: Extract estimate of group effect

Description Usage Arguments Value Examples

View source: R/estimate.R

Description

tidyEstimates extracts the estimate of group effect from a fitted linear model.

Usage

1

Arguments

fit

An lm model object.

data

A data frame used to derive the model object fit.

Value

A data frame restoring the estimated model parameters.

Examples

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

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