Last data update: 2014.03.03

R: Creates a Hossfeld function defining growth.
HossfeldR Documentation

Creates a Hossfeld function defining growth.

Description

Functional form describing growth according to a Hossfeld function.

Usage

Hossfeld(size, par)

Arguments

size

vector of sizes.

par

vector of length 3.

Author(s)

C. Jessica E. Metcalf, Sean M. McMahon, Roberto Salguero-Gomez, Eelke Jongejans & Cory Merow.

References

Zuidema, Jongejans, Chien, During & Schieving. 2010. Integral projection models for trees: a new parameterization method and a validation of model output. Journal of Ecology 98, p345-355.

Rivas, Gonzalez, Gonzalez & von Gadow. 2004. Compatible height and site index models for five pine species in El Salto, Durango (Mexico). Forest Ecology and Management 201, p145-160.

Examples

dff <- generateData()
sizeRange <- c(1:20)
sizeInit <- 1
Hossfeld(sizeRange, rep(1, 3))
plot(Hossfeld(1:10, rep(1, 3)), type = "l", 
    ylab = "Predicted increment from t to t+1", 
	xlab = "Continuous (size) stage in time t", col = "dark gray")

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(IPMpack)
Loading required package: Matrix
Loading required package: MASS
Loading required package: nlme
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/IPMpack/Hossfeld.Rd_%03d_medium.png", width=480, height=480)
> ### Name: Hossfeld
> ### Title: Creates a Hossfeld function defining growth.
> ### Aliases: Hossfeld
> 
> ### ** Examples
> 
> dff <- generateData()
> sizeRange <- c(1:20)
> sizeInit <- 1
> Hossfeld(sizeRange, rep(1, 3))
 [1] 0.250000000 0.111111111 0.062500000 0.040000000 0.027777778 0.020408163
 [7] 0.015625000 0.012345679 0.010000000 0.008264463 0.006944444 0.005917160
[13] 0.005102041 0.004444444 0.003906250 0.003460208 0.003086420 0.002770083
[19] 0.002500000 0.002267574
> plot(Hossfeld(1:10, rep(1, 3)), type = "l", 
+     ylab = "Predicted increment from t to t+1", 
+ 	xlab = "Continuous (size) stage in time t", col = "dark gray")
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>