Wrap quality statistic of linear regression summary.

# S3 method for summary.lm
wrapFTest(x, ..., format = NULL)

Arguments

x

summary.lm summary(lm()) object

...

extra arguments (not used)

format

if set the format to return ("html", "latex", "markdown", "ascii", "docx", ...)

Value

formatted string

Examples

d <- data.frame(x=c(1,2,3,4,5,6,7,7), y=c(1,1,2,2,3,3,4,4)) model <- lm(y~x,data=d) sum <- summary(model) sigr::wrapFTest(sum)
#> [1] "F Test summary: (R2=0.954, F(1,6)=124.5, p=3.094e-05)."