print.spmodel function

Print values

Print values

Print fitted model objects and summaries.

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

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

Returns

Printed fitted model objects and summaries with formatting.

Examples

spmod <- splm(z ~ water + tarp, data = caribou, spcov_type = "exponential", xcoord = x, ycoord = y ) print(spmod) print(summary(spmod)) print(anova(spmod))
  • Maintainer: Michael Dumelle
  • License: GPL-3
  • Last published: 2025-03-12