Skip to contents

Print method for objects of class "RiskMap" from glgpm(): the call, the estimates of the regression coefficients and of the covariance parameters on their natural scale, the log-likelihood and, for binomial, Poisson and negative binomial models, whether the Monte Carlo error of the estimate is certified. Standard errors and confidence intervals are given by summary.RiskMap(), and the checks on the computation by check_fit().

Usage

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

Arguments

x

An object of class "RiskMap".

digits

The number of significant digits of the estimates.

...

Not used, and an error if given, so that a misspelt argument is not ignored.

Value

Invisibly returns x.

Examples

data(italy_sim)

fit <- glgpm(
  formula = y ~ gp(),
  data = italy_sim[1:100,],
  family = "gaussian",
  messages = FALSE
)

fit
#> ── Linear geostatistical model ─────────────────────────────────────────────────
#> glgpm(formula = y ~ gp(), data = italy_sim[1:100, ], family = "gaussian",
#>     messages = FALSE)
#> 100 observations at 10 locations.
#> 
#> Regression coefficients
#>             Estimate
#> (Intercept)    9.323
#> 
#> Covariance parameters (Matern, kappa = 0.5)
#>                          Estimate
#> Spatial process var.        4.849
#> Spatial corr. scale (km)    39.01
#> Measurement error var.     0.1786
#> Variance of the nugget effect fixed at 0
#> 
#> Log-likelihood  8.618636
#> 
#> ℹ `summary()` gives standard errors and confidence intervals.