gaze | R Documentation |
print
and print.summary
methods often returns long input, which
is suitable for the console, but too verbal for a printed output
like a book or an article written using quarto. gaze
is a generic
function which prints a short output
gaze(x, ...)
## S3 method for class 'lm'
gaze(
x,
...,
coef = NULL,
digits = max(3L, getOption("digits") - 3L),
signif.stars = FALSE
)
## S3 method for class 'micsr'
gaze(
x,
...,
coef = NULL,
digits = max(3L, getOption("digits") - 3L),
signif.stars = FALSE
)
## S3 method for class 'ivreg'
gaze(
x,
...,
coef,
digits = max(3L, getOption("digits") - 3L),
signif.stars = getOption("show.signif.stars")
)
## S3 method for class 'rdrobust'
gaze(x, ..., first_stage = FALSE)
## S3 method for class 'CJMrddensity'
gaze(x, ...)
## S3 method for class 'htest'
gaze(x, ..., digits = 3)
## S3 method for class 'anova'
gaze(x, ..., digits = 3)
## S3 method for class 'LMtestlist'
gaze(x, ..., digits = 3)
x |
an object, |
... |
further arguments for the different methods, |
coef |
the coefficients to be printed |
digits |
the number of digits for the |
signif.stars |
a boolean indicating whether the stars should be printed |
first_stage |
a boolean for the |
returns invisibly its first argument
t.test(extra ~ group, sleep) %>% gaze
lm(dist ~ poly(speed, 2), cars) %>% gaze
lm(dist ~ poly(speed, 2), cars) %>% gaze(coef = "poly(speed, 2)2")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.