rand.seed {rconifers} | R Documentation |
Initialize or reset the random number generator for the CONIFERS forest growth model.
rand.seed( control )
control |
a list of control options. See 'Details'. |
The rand.seed
function is used to either initialize or reset
the random behavior of the CONIFERS growth model.
The 'control' argument is a list that can supply any of the following components:
Jeff D. Hamann jeff.hamann@forestinformatics.com,
Martin W. Ritchie mritchie@fs.fed.us
Ritchie, M.W. 2008 . User's Guide and Help System for CONIFERS: A Simulator for Young Conifer Plantations Version 4.10. See http://www.fs.fed.us/psw/programs/ecology_of_western_forests/projects/conifers/
calc.max.sdi
,
impute
,
plants
,
plots
project
,
rand.seed
,
rconifers
,
sample.data
,
set.species.map
,
set.variant
,
smc
,
summary.sample.data
,
swo
,
thin
library( rconifers ) # turn off the random error component rand.seed( control=list(use.random.error=0 ) ) # reset the random error component and set the seed to 4326 rand.seed( control=list(use.random.error=1,random.seed=4326 ) )