Returns a formatted string to report the B, CI, partial-eta2, t, and p-value for an effect from an lm mode. This formatted string is apporpriate for use in an R Markdown document for a dynamic report of research results.
varMarkdown(effect, mod, modsum, statistic='t', B=1, CI=B, pe=2)
Text label for effect from lm
object returned from lm()
object returned from summary() or modelSummary()
test statistic to report: 't' or 'F'
number of decimal places for report of B; NULL if B should not be reported
number of decimal places for report of Bs in 95 CI; NUll if CI should not be reported
number of decimal places for report of partial eta2. Null if should not be reported
Returns a formatted string that can be directly included in a R Markdown file for a dynamic report