Description Usage Arguments Details Value Author(s) Examples

Fits the von Bertalanffy growth equation to clustered length and age by using nonlinear least-squares and by bootstrapping clusters

1 2 3 | ```
clus.vb.fit(len=NULL,age=NULL,cluster=NULL,nboot=1000,
control=list(maxiter=10000,
minFactor=1/1024,tol=1e-5))
``` |

`len` |
vector of lengths of individual fish |

`age` |
vector of ages of individual fish |

`cluster` |
haul or cluster membership identifier |

`nboot` |
number of bootstrap samples |

`control` |
see |

A standard von Bertalanffy growth curve is fitted to length-at-age data of each *nboot* sample of clusters
using nonlinear least-squares (function *nls*). The estimated parameters and their associated standard deviations
are calculated as the mean and variance of the estimates from all bootstrap fits. The average parameter correlation matrix
from all bootstrap fits is provided as well.

List containing a summary of successful model fits and parameter estimates, standard deviation and 95 percent confidence intervals, and the average correlation matrix.

Gary A. Nelson, Massachusetts Division of Marine Fisheries gary.nelson@state.ma.us

1 2 3 4 5 | ```
## Not run:
data(pinfish)
with(pinfish,clus.vb.fit(len=sl,age=age,cluster=field_no,nboot=100))
## End(Not run)
``` |

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.