site.sim.gam: Simulate abundance measurements from a fitted GAM model

Description Usage Arguments Value Author(s)

Description

The purpose of this function is to allow a user to simulate abundance measurements from a fitted GAM model. This is primarily used for testing purposes and not meant to be called by the user in general.

Usage

1
site.sim.gam(fits, data, max.time, size)

Arguments

fits

Fitted gam object from mgcv

data

data

max.time

The maximum time used for simulation

size

Size of the drawn sample

Value

a matrix that is max.time by size

Author(s)

Devin S. Johnson


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