Calculate the frequency per ring width class as suggested
by Campelo (2015).
Usage
campelo_freq(iadf, rwl, n = 20)
Arguments
iadf
A data frame with numeric columns representing individual series
and years as rownames where years with IADF are marked binary with 1,
those without with 0, years not covered by the series are set to NA.
rwl
data frame containing ring widths with years in rows and
series in columns
n
number of ring width classes
Value
a data frame
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
# NOT RUN {data('example_iadf')
data('example_rwl')
model <- campelo_chapman(campelo_freq(example_iadf, example_rwl))
campelo_index(example_iadf, example_rwl, model)
# }