summary.glmssn: Summary - S3 Method for Class 'glmssn'

View source: R/summary.glmssn.R

summary.glmssnR Documentation

Summary - S3 Method for Class 'glmssn'

Description

summary is a generic function that produces output summaries of fitted models in the SSN package. In particular, the function invokes methods for objects of class glmssn.

Usage

## S3 method for class 'glmssn'
summary(object, ...)

Arguments

object

an object of class glmssn

...

other arguments passed to summary

Details

The summary.glmssn function summarizes the fitted model with a table of estimates for the fixed effects and the covariance parameter estimates. It also provides a warning log.

Value

An object with a 3-item list:

fixed.effects.estimates

a data.frame with columns FactorLevel (effect & level) Estimate, std.err, t.value, and prob.t (p-value) for the fixed effects

covariance.parameter.estimates

a list of covariance parameter estimates for each covariance model

Warnings

a list of warnings associated with the object

Author(s)

Jay Ver Hoef support@SpatialStreamNetworks.com

See Also

glmssn,link{covparms}

Examples


	library(SSN)
	# get some model fits stored as data objects
	data(modelFits)
	#NOT RUN use this one
	#fitSp <- glmssn(Summer_mn ~ ELEV_DEM + netID,
	#    ssn.object = mf04p, EstMeth = "REML", family = "Gaussian",
	#    CorModels = c("Exponential.tailup","Exponential.taildown",
	#    "Exponential.Euclid"), addfunccol = "afvArea")
	#for examples only, make sure fitSp has the correct path
	#if you use importSSN(), path will be correct
	fitSp$ssn.object <- updatePath(fitSp$ssn.object, 
		paste0(tempdir(),'/MiddleFork04.ssn'))
	names(fitSp)
	names(fitSp$ssn.object)

  summary(fitSp)


SSN documentation built on March 7, 2023, 5:30 p.m.