print: Print methods

printR Documentation

Print methods

Description

Print results of different methods applied to tlse ands tlseModel Objects.

Usage

## S3 method for class 'tlseModel'
print(x, knots=FALSE, ...)
## S3 method for class 'tlse'
print(x, ...)
## S3 method for class 'summary.tlse'
print(x, digits = 4,
                              signif.stars = getOption("show.signif.stars"),
                              beta=FALSE, knots = FALSE,...)

Arguments

x

Onject of class tlse or summary.tlse.

digits

The number of digits to print.

signif.stars

Should we print the significant stars?

beta

Should we print the coefficient matrix of the piecewise polynomials?

knots

Should we print the knots of the piecewise polynomial?

...

Argument for other type of objects

Examples

data(simData)
mod1 <- setModel(Y~Z|~X1*X2, data=simData)
print(mod1)
fit <- tlse(mod1)
print(fit)
s <- summary(fit)
print(s)

causalTLSE documentation built on March 31, 2023, 3:07 p.m.

Related to print in causalTLSE...