tidyEstimates {MSstatsPTM}R Documentation

Extract estimate of group effect

Description

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

Usage

tidyEstimates(fit, data)

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

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


[Package MSstatsPTM version 1.0.0 Index]