campelo_chapman {iadf}R Documentation

campelo_chapman

Description

Chapman model fitting to size classes for the calculation of size corrected IADF frequencies according to Campelo et al. (2015).

Usage

campelo_chapman(
  campelo_freq_object,
  min.n = 15,
  start = NULL,
  make.plot = TRUE,
  max.iter = 500,
  ...
)

Arguments

campelo_freq_object

a campelo frequency object, output of campelo_freq

min.n

minimum number of samples within each group to be included in model estimation

start

set custom start values - default to list(a = 0.8, b = 0.03, c = 12.5)

make.plot

logical

max.iter

maximum iterations for internally used nls

...

additional plotting arguments

Value

a model object of class "nls"

References

Campelo, F., Vieira, J., Battipaglia, G. et al. Which matters most for the formation of intra-annual density fluctuations in Pinus pinaster: age or size? Trees (2015) 29: 237. doi:10.1007/s00468-014-1108-9

See Also

campelo_freq, campelo_index

Examples

data('example_iadf')
data('example_rwl')
model <- campelo_chapman(campelo_freq(example_iadf, example_rwl))
campelo_index(example_iadf, example_rwl, model)

[Package iadf version 0.1.2 Index]