Learn R Programming

BIOdry (version 0.9)

plot.modelFrame: Plot modelFrame objects

Description

Diagnostic Trellis plot for fluctuations in modelFrame objects are obtained.

Usage

# S3 method for modelFrame
plot(x, ...)

Arguments

x

An object inheriting from class modelFrame.

...

further arguments passed to the Trellis plot function.

Author

Wilson Lara <wilarhen@gmail.com>, Felipe Bravo <fbravo@pvs.uva.es>

Examples

Run this code
##TRW chronology (mm) and inside-bark radii
data(Pchron,envir = environment())

## Parameters of allometric model to compute Diameter at Breast
## Height over bark (DBH, cm) from diameter inside bark (dib, cm)
## and Total Tree Biomass (TTB, kg tree -1 ) from DBH (Lara
## et. al. 2013):
biom_param <- c(2.87, 0.85, 0.05, 2.5)

## Modeling tree-biomass fluctuations while accounting for
## within-plot source variability (see defaults in "modelFrame"
## function)
 # \donttest{
     trwf <- modelFrame(Pchron,
                        to = 'cm',
                        MoreArgs = list(mp = c(2,1, biom_param)),
                        log.t = FALSE,
                        on.time = FALSE)
     plot(trwf, grid = FALSE)
 # }

Run the code above in your browser using DataLab