tests/test-extract.R

library(qwraps2)

fit <- lm(mpg ~ wt + hp + drat, data = mtcars)

stopifnot(extract_fstat(fit) == "$F_{3, 28} = 47.88$")
stopifnot(extract_fpvalue(fit) == "$P < 0.0001$")

Try the qwraps2 package in your browser

Any scripts or data that you put into this service are public.

qwraps2 documentation built on Nov. 10, 2023, 1:06 a.m.