Description Usage Arguments Details Value Author(s) Examples

Using a data.frame with paired observations of length and weight of individuals, and a second data.frame with paired observations of length and month of individuals, predict the mean weight per month in kg and its standard error.

1 |

`par` |
Numeric vector length 2 with the initial values for parameters of the length-weight relationship. |

`lenw` |
Numeric data.frame with paired observations of length and weight (kg). |

`lenm` |
Numeric data.frame with paired observations of length and month in numeric format. |

`method` |
Character, the numerical method to fit the length-weight relationship. Use one of the following: BFGS,CG,Nelder-Mead,SANN. |

`span` |
The span parameter of the loess function to fit the length-month relationship. |

The length data in lenw and lenm must be in the same units.

A data.frame with five columns: month, predicted mean weight from the length data and the length-weight relationship, its standard error, smoothed mean length from the loess fit of the length-month relationship, and its standard error.

Ruben H. Roa-Ureta (ORCID ID 0000-0002-9620-5224)

1 2 3 4 5 6 7 |

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.