init.population | R Documentation |
Create data structure with n organisms distributed across life stages. Includes leftist tree structure
init.population(
community,
species,
n = 200,
width = 100,
units = getOrgFeature(community, species, "units"),
timeit = FALSE,
reject = Inf,
position = rtri(n, width),
colnames = c(leftistnames, paramnames, posnames, eventnames),
init.stage = istage,
init.weight = getOrgFuture(community, species, "init"),
messages = TRUE,
...
)
community |
community structure |
species |
species name(s) as character string vector |
n |
number of organisms in population |
width |
maximum width of dispersal on tridiagonal coordinate system |
units |
time units (default is
|
timeit |
print timing information if |
reject |
rejection time (default is |
position |
initial positions in triangular coordinate system (generated randomly) |
colnames |
names of columns in data structure (do not change) |
init.stage |
initial stage of all organisms (default values generated randomly) |
init.weight |
initial weights for life stages (default taken for organism features) |
... |
not used |
Does various initializations based in information in future.xxx
,
where xxx
is replaced by the name of the dataset. Normally,
init.population
is called by init.simulation
.
comp1 |
Description of ‘comp1’ |
comp2 |
Description of ‘comp2’ |
...
Brian S. Yandell
init.simulation
## Not run: init.population( redscale )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.