dx.mixture | R Documentation |
Functions to get values of the mixture density functions of the cell lengths on three different scales: as observed in the increment core, i.e. cut or uncut fibers or fines (dx.mixture
), as true cell lengths (fibers or fines) that at least partially appears in the increment core (dy.mixture
) and as the true cell lengths (fines or fibres) in the standing tree (dw.mixture
).
dx.mixture(x, par, r, model="ggamma") dy.mixture(x, par, model="ggamma") dw.mixture(x, par, r, model="ggamma")
x |
vector of cell length values |
par |
vector of mixture model parameters |
r |
radius of the increment core |
model |
either |
returns a vector of density values
Sara Sjöstedt de Luna, Konrad Abramowicz, Natalya Pya Arnqvist
dx.fibers
, dy.fibers
, dw.fibers
## Not run: library(fiberLD) data(cell.length) r <- 6 d <- fled(data=cell.length,model="lognorm",r=r) x <- seq(0, 8,length=100) f1 <- dx.mixture(x=x, par=d$par,r=r, model="lognorm") plot(x,f1,type="l") w <- seq(0, 2*r+2,length=150) f2 <- dy.mixture(w, d$par, model="lognorm") f3 <- dw.mixture(w, d$par, 6, model="lognorm") plot(w,f3,type="l") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.