SofiaPar: Parameters for SOFIA models

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

The function creates an object of class 'SofiaPar' (which is actually a list) which contains information about Sofia model parameters.

Usage

1
2
3
SofiaPar(x.names, per.group = rep(FALSE, length(x.names)), group.names = NULL, 
    par.act = NULL, par.prior = NULL, par.lower = NULL, par.upper = NULL, 
    ...)

Arguments

x.names

names of independent variables

per.group

a boolean vector that indicates if a column in x acts per group (e.g. PFTs)

group.names

names of groups

par.act
par.prior

prior parameters

par.lower

lower parameter limits

par.upper

upper parameter limits

...

further arguments

Details

No details.

Value

An object of class 'SofiaPar', which is actually a list.

Author(s)

Matthias Forkel <matthias.forkel@geo.tuwien.ac.at> [aut, cre]

References

No reference.

See Also

Sofia, SofiaLogistic

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# explanatory variables
sm <- 1:100
temp <- rnorm(100, 12, 10)
x <- cbind(sm, temp)

# fractional coverage of groups, e.g. plant functional types
tree <- runif(100, 0, 0.8)
grass <- 1 - tree
area <- cbind(tree, grass)

# parameters for SOFIA models
par <- SofiaPar(colnames(x), per.group=c(TRUE, FALSE), group.names=c("tree", "grass"))
par

SOfireA documentation built on May 2, 2019, 6:07 p.m.