Learn R Programming

DGVM3D (version 1.0.0)

succession: create a temporal succession

Description

create a temporal succession

Usage

succession(vegetation, stand.id = 1, patch.id = NULL, init.year = 1901,
  years = seq(1950, 2000, 10))

Arguments

vegetation

data.frame

stand.id

the Stand ID

patch.id

the patch ID, if NULL all available ones are considered

init.year

year, when to initialize the tree positions

years

the years to be included

Value

a stand object

Examples

Run this code
# NOT RUN {
stand=succession(dgvm3d.succession[[3]], init.year=1865, years=c(1865, seq(1875, 2000, 25)),
                 patch.id=sample(1:12, 3))
stand3D(stand)
stand=plant3D(stand)
# }

Run the code above in your browser using DataLab