Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

print_table

Print a three-line table.


Description

Print a three-line table.

Usage

print_table(x, row.names = TRUE, nsmalls = 3)

Arguments

x

Matrix, data.frame (or data.table), or any model object (e.g., lm, glm, lmer, glmer, ...).

row.names

Whether to print row names. Default is TRUE.

nsmalls

A number or numeric vector specifying the number of decimal places of output. Default is 3.

Value

No return value.

Examples

model=lm(Temp ~ Month + Day + Wind + Solar.R, data=airquality)
print_table(model)

bruceR

Broadly Useful Convenient and Efficient R Functions

v0.6.2
GPL-3
Authors
Han-Wu-Shuang Bao [aut, cre]
Initial release
2021-04-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.