View source: R/simulation_scalescape.R
simulation_scalescape | R Documentation |
simulate
method for class scalescape
.Currently only available for linear models
simulation_scalescape( mod.full, mod.reduced, new.coef, new.range, new.sigma = NULL, data = NULL, nsim = 1 )
mod.full |
the full (landscape) model upon which to base the simulations |
mod.reduced |
the reduced (local) model |
new.coef |
simulated coefficient for the landscape effect |
new.range |
simulated range parameter (i.e. scale of effect) for the landscape effect |
new.sigma |
simulated standard deviation. By default, this is extracted from |
data |
a data frame with local and landscape predictors and response variables.
By default, this is extracted from |
nsim |
number of simulations (default = 1) |
simulation_scalescape
returns a data frame of predictor and simulated response variables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.