Print fitted model objects and summaries.

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

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

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

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

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

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

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

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

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

Arguments

x

A fitted model object from ssn_lm(), ssn_glm(), ssn_decorrelate(), or ssn_lmRF(), or output from summary(x) 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

Value

Printed fitted model objects and summaries with formatting.

Examples

# \donttest{
# Copy the mf04p .ssn data to a local directory and read it into R
# When modeling with your .ssn object, you will load it using the relevant
# path to the .ssn data on your machine
copy_lsn_to_temp()
temp_path <- paste0(tempdir(), "/MiddleFork04.ssn")
mf04p <- ssn_import(temp_path, overwrite = TRUE)
fit <- ssn_lm(
  Summer_mn ~ ELEV_DEM, mf04p, tailup_type = "exponential",
  additive = "afvArea"
)
print(fit)
#> 
#> Call:
#> ssn_lm(formula = Summer_mn ~ ELEV_DEM, ssn.object = mf04p, tailup_type = "exponential", 
#>     additive = "afvArea")
#> 
#> 
#> Coefficients (fixed):
#> (Intercept)     ELEV_DEM  
#>    80.85784     -0.03412  
#> 
#> Coefficients (covariance):
#>               Effect     Parameter   Estimate
#>   tailup exponential  de (parsill)  1.390e+00
#>   tailup exponential         range  1.306e+05
#>               nugget        nugget  5.415e-02
#> 
# }