Description Usage Arguments Value See Also Examples
View source: R/MetGen_functions.R
function for predictions from the results of model fitting functions (fit.glm
) or
(glm
)
1 |
fit |
climatic variable fitted returned from "glm" which inherits from the class "lm". |
datapred |
Data frame that contains dates, climatic variables and all covariates used to fit the variable to simulate |
fam.glm |
family objects to specify probability distribution used for the model ("gaussian", "gaussian-hetero", "binomial" or "Gamma") |
occ.cond |
character object that specifies the name of the occurrence variable if that exists |
Value returned belong to the same class of its first argument
1 2 | temp_fitted=glm(temp~Rh, family=gaussian, data=myclimatic_data)
temp.sim=sim.glm(temp_fitted, myclimatic_data, fam.glm = "gaussian", occ.cond = NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.