prior_ff {efdm} | R Documentation |
estimatetransprobs
Priors for estimatetransprobs
prior_ff()
prior_grow(variable, howmuch = 1)
variable |
Name of the variable to grow |
howmuch |
Amount of growth |
prior_ff
moves the forest area to the smallest classes of the given
dynamic variables of the forest stratum.
prior_grow
moves the forest to another class given by increasing
variable
by howmuch
.
Return value is used by estimatetransprobs
to provide
prior information on the transition probabilities.
statespace <- expand.grid(a=1:2, b=1:2, vol=1:15, age=1:15)
act <- define_activity("test", c("vol", "age"))
act1 <- estimatetransprobs(c("vol", "age"), NULL, statespace, by=c("a", "b"),
prior=prior_ff())
act2 <- estimatetransprobs(c("vol", "age"), NULL, statespace, by=c("a", "b"),
prior=prior_grow("age"))