boundaryFit | R Documentation |

Fit multiple boundary lines, write their results and choose the best one.

```
boundaryFit(boundaries, x, y, boundary = NULL,
store = TRUE, storedev = pdf, initNLS = NULL, prefix = NULL)
```

`boundaries` |
Data frame with |

`x` |
x coordinates of all priors. |

`y` |
y coordinates of all priors. |

`boundary` |
Own boundary line function of one argument, eg. |

`prefix` |
Prefix of saved files. |

`store` |
If to save figures. |

`storedev` |
Format for saving the graphical outputs, eg. pdf or jpeg. |

`initNLS` |
Vector for initialization of start values for |

Boundary-line method scales the percent growth change of Nowacki & Abrams (1997) according to growth rate prior to disturbance. In their example, Black & Abrams (2003) defined moderate and major releases as those falling within 20-49.9%, and 50-100% of the boundary line, respectively. Advantage of the boundary-line is standardization, which takes into account the relationships among tree age, size, and canopy class determining radial growth rate (Black et al. 2004). On the downside, Black et al. (2009) suggest approximately 50000 ring width measurements is necessary for boundary line determination for a given species (Black et al. 2009).

Return list object with

`fun` |
Fitted function (boundary line). |

`rsq` |
R square of the fit. |

`bestModel` |
Best fitted model. |

Check reference.

Pavel Fibich <pavel.fibich@prf.jcu.cz>, Jan Altman <altman.jan@gmail.com>, Tuomas Aakala <tuomas.aakala@helsinki.fi>, Jiri Dolezal <jiriddolezal@gmail.com>

Black, B.A. & Abrams, M.D. (2003) Use of boundary-line growth patterns as a basis for dendroecological release criteria. Ecological Applications, 13, 1733-1749.

Black, B.A., Abrams, M.D., Gagen, M., Daniels, L.D., Kipfmueller, K.F., Speer, J.H. & Anchukaitis, K.J. (2004) Development and application of boundary-line release criteria. Dendrochronologia, 22, 31-42.

Black, B.A., Abrams, M.D., Rentch, J.S. & Gould, P.J. (2009) Properties of boundary-line release criteria in North American tree species. Annals of Forest Science, 66.

`boundaryGet`

, `plotBoundary`

, `nls`

```
data(relData)
bo<-boundaryGet(relData1)
bofit<-boundaryFit(bo$bo,bo$x,bo$y)
plotBoundary(bo$bo,bo$x,bo$y,boundary=bofit$fun,rsq=bofit$rsq)
plotBoundary(bo$bo,bo$x,bo$y,boundary=function(x) {5.0067*exp(-0.664*x)})
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.