site.fit.gam: Fit a gam model to an individual site data set

Description Usage Arguments Value Author(s)

Description

The purpose of this function is to allow a user to fit the gam model which is used for imputation to a sigle site's worth of data. This is primarily used for testing purposes and not meant to be called by the user in general.

Usage

1
2
site.fit.gam(data, obs.formula = NULL, sig.abund = NULL, min.k = 3,
  ln.adj = 0, family = "tw", obs.prior = NULL)

Arguments

data

data

obs.formula

Formula for the observation model

sig.abund

Variance estimates for abundance response if it is estimated.

min.k

Minimum df for the thin-plate regression spine model fit to the counts

ln.adj

Amount to add to zero valued abundances before taking logs

obs.prior

List that provides the mean (named 'gamma.mean') and covariance matrix for the observation model coefficients (named 'gamma.vcov')

Value

a list...

Author(s)

Devin S. Johnson


dsjohnson/agTrend.gam documentation built on May 6, 2019, 1:35 a.m.