plot.fled: FLED plotting

View source: R/plot.fled.r

plot.fledR Documentation

FLED plotting

Description

The function takes a fled object produced by fled() and creates several density plots. When the data consists of cell lengths from the increment core measured by an optical fiber analyzer ("ofa"), the function creates a histogram of the given data values together with the estimated density of the mixture model and two separate plots of the estimated fiber and fine lengths densities in the standing tree. With a microscopy sample (consisting of the lengths of uncut fibers in the increment core) the function creates two plots, a histogram of the given data with the estimated density of lenghts of the uncut fibers in the increment core and the estimated fiber length density in the standing tree.

Usage

## S3 method for class 'fled'
plot(x,select=NULL, density.scale="tree", rvec=NULL, xlab=NULL,
                    ylab=NULL,  main=NULL, col=4, lwd=2,  ...)

Arguments

x

a fled object as produced by fled().

select

allows one plot to be selected for printing. e.g., if you just want the plot for the fiber length density set select=2. When 'NULL' (default) all three plots are plotted.

density.scale

one of three options which define the scale on which the fiber/fine length densities should be plotted: "tree" (default) plots the estimated densities of the fiber/fine lengths in the tree, "uncut.core" plots densities of cell lengths of those cells that at least partially appear in the increment core, "core" plots densities of the observed (cut or uncut) cell lengths in the increment core

rvec

values of cell lengths used to get estimates of densities.

xlab

If supplied then this will be used as the x label for all plots.

ylab

If supplied then this will be used as the y label for all plots.

main

Used as title for plots if supplied.

col

defines the color used for density plotting.

lwd

defines the line width.

...

other graphics parameters to pass on to plotting commands.

Value

The function generates plots.

Author(s)

Sara Sjöstedt de Luna, Konrad Abramowicz, Natalya Pya Arnqvist

References

Svensson, I., Sjöstedt de Luna, S., Bondesson, L. (2006). Estimation of wood fibre length distributions from censored data through an EM algorithm. Scandinavian Journal of Statistics, 33(3), 503–522.

Chen, Z. Q., Abramowicz, K., Raczkowski, R., Ganea, S., Wu, H. X., Lundqvist, S. O., Mörling, T., Sjöstedt de Luna, S., Gil, M.R.G., Mellerowicz, E. J. (2016). Method for accurate fiber length determination from increment cores for large-scale population analyses in Norway spruce. Holzforschung. Volume 70(9), 829–838.

See Also

fled

Examples

## see ?fled help files

fiberLD documentation built on July 21, 2022, 5:08 p.m.