create_model_simulator: Create a simulator function of a GAM

Description Usage Arguments Value

View source: R/simulate_data.R

Description

Create a simulator function of a GAM

Usage

1

Arguments

model
post

a function(x) {...} applied to the output of the resulting function

Value

a closure of newdata and newparms that returns a vector of simulated data from the fitted GAM model


bsaul/conservation_spillover documentation built on Feb. 26, 2021, 1:28 p.m.