I am trying to convert ring-width series (mm) to ring-area series via bai.out().
I have a table with one sample per column and the years as rows and another table with the measured diameters. However, when I run the code
Bai <- bai.out(rwl = Tree_ring_width, diam = DBH)
it gives me the following error message:
Error in x[[jj]][iseq] <- vjj : replacement has length zero
Does somebody know how to solve this?