Learn R Programming

spmodel (version 0.10.0)

print.spmodel: Print values

Description

Print fitted model objects and summaries.

Usage

# S3 method for splm
print(x, digits = max(3L, getOption("digits") - 3L), ...)

# S3 method for spautor print(x, digits = max(3L, getOption("digits") - 3L), ...)

# S3 method for summary.splm print( x, digits = max(3L, getOption("digits") - 3L), signif.stars = getOption("show.signif.stars"), ... )

# S3 method for summary.spautor print( x, digits = max(3L, getOption("digits") - 3L), signif.stars = getOption("show.signif.stars"), ... )

# S3 method for anova.splm print( x, digits = max(getOption("digits") - 2L, 3L), signif.stars = getOption("show.signif.stars"), ... )

# S3 method for anova.spautor print( x, digits = max(getOption("digits") - 2L, 3L), signif.stars = getOption("show.signif.stars"), ... )

# S3 method for spglm print(x, digits = max(3L, getOption("digits") - 3L), ...)

# S3 method for spgautor print(x, digits = max(3L, getOption("digits") - 3L), ...)

# S3 method for summary.spglm print( x, digits = max(3L, getOption("digits") - 3L), signif.stars = getOption("show.signif.stars"), ... )

# S3 method for summary.spgautor print( x, digits = max(3L, getOption("digits") - 3L), signif.stars = getOption("show.signif.stars"), ... )

# S3 method for anova.spglm print( x, digits = max(getOption("digits") - 2L, 3L), signif.stars = getOption("show.signif.stars"), ... )

# S3 method for anova.spgautor print( x, digits = max(getOption("digits") - 2L, 3L), signif.stars = getOption("show.signif.stars"), ... )

Value

Printed fitted model objects and summaries with formatting.

Arguments

x

A fitted model object from splm(), spautor(), spglm(), or spgautor() or output from summary(x) or or anova(x).

digits

The number of significant digits to use when printing.

...

Other arguments passed to or from other methods.

signif.stars

Logical. If TRUE, significance stars are printed for each coefficient

Examples

Run this code
spmod <- splm(z ~ water + tarp,
  data = caribou,
  spcov_type = "exponential", xcoord = x, ycoord = y
)
print(spmod)
print(summary(spmod))
print(anova(spmod))

Run the code above in your browser using DataLab