summaryFits: summaryFits: Fit Summary

View source: R/3.3_Factorial_designs_Functions.R

summaryFitsR Documentation

summaryFits: Fit Summary

Description

Function to provide an overview of fitted linear models for objects of class facDesign.c.

Usage

summaryFits(fdo, lmFit = TRUE, curvTest = TRUE)

Arguments

fdo

An object of class facDesign.c.

lmFit

A logical value deciding whether the fits from the object fdo should be included or not. By default, lmFit is set to TRUE.

curvTest

A logical value deciding whether curvature tests should be performed or not. By default, curvTest is set to TRUE.

Value

A summary output of the fitted linear models, which may include the linear fits, curvature tests, and original fit values, depending on the input parameters.

Examples

dfac <- facDesign(k = 3)
dfac$.response(data.frame(y = rnorm(8), y2 = rnorm(8)))
dfac$set.fits(lm(y ~ A + B , data = dfac$as.data.frame()))
dfac$set.fits(lm(y2 ~ A + C, data = dfac$as.data.frame()))
summaryFits(dfac)

r6qualitytools documentation built on Oct. 4, 2024, 1:09 a.m.