plot.Sofia: plot a Sofia object

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

Description

Plots a Sofia object.

Usage

1
2
3
## S3 method for class 'Sofia'
plot(x, ylab = "y", mfrow = NULL, names = NULL, main = NULL, 
    plot.order = NULL, labels = paste0("(", letters, ")"), ...)

Arguments

x

a 'Sofia' object

ylab

label for response variable

mfrow

number of rows and columns for the plot

names

names of the variables in the response functions

main

title of the plot

plot.order

Order for plotting of factors

labels

Labels for subplots. Set to NULL to avoid labels.

...

further arguments (not used)

Details

No details.

Author(s)

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

References

No reference.

See Also

Sofia

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
# 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)

# make and plot SOFIA model
par <- SofiaPar(colnames(x), per.group=c(TRUE, FALSE), group.names=c("tree", "grass"))
par$par <- c(1, 1, 20, 2, 1, -0.2, -0.1, 13, 10)
sf <- Sofia(x, area, per.group=c(TRUE, FALSE), sofiapar=par)
plot(sf)

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