prior_ff {efdm}R Documentation

Priors for estimatetransprobs

Description

Priors for estimatetransprobs

Usage

prior_ff()

prior_grow(variable, howmuch = 1)

Arguments

variable

Name of the variable to grow

howmuch

Amount of growth

Details

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.

Value

Return value is used by estimatetransprobs to provide prior information on the transition probabilities.

Examples

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"))

[Package efdm version 0.2.1 Index]