dx.fibers.micro: Density functions of the fiber length based on microscopy...

View source: R/misc.r

dx.fibers.microR Documentation

Density functions of the fiber length based on microscopy data

Description

Functions to get values of the density functions of the fiber length on three different scales based on microscopy data, being the uncut fibres in the core: the uncut fibres in the increment core (dx.fibers.micro), as true fiber lengths of those fibres that at least partially appears in the increment core (dy.fibers.micro) and as the true fiber lengths in the standing tree (dw.fibers.micro).

Usage

  dx.fibers.micro(x, par, r, model="ggamma")
  dy.fibers.micro(x, par, model="ggamma")
  dw.fibers.micro(x, par, r, model="ggamma")

Arguments

x

vector of fiber length

par

vector of parameters for fiber length distribution

r

radius of the increment core

model

either ggamma (default) or lognorm

Value

returns a vector of density values

Author(s)

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

See Also

dx.fibers, dy.mixture

Examples

 library(fiberLD)
 r <- 2.5
 par <- c(1.8,2.7,2.6)
 x <- seq(.01, 2*r-.01,length=100)
 f1 <- dy.fibers.micro(x, par)
 plot(x,f1,type="l")

 f2 <- dx.fibers.micro(x, par, r)

 ## getting the density in the tree that goes beyond the length 
 ## of the diameter, 2r,... 
 w <- seq(0,8,length=200)
 f3 <- dw.fibers.micro(w, par, r)
 plot(w,f3,type="l")


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