Learn R Programming

r6qualitytools (version 1.0.1)

summaryFits: 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)

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.

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.

Examples

Run this code
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)

Run the code above in your browser using DataLab