extract_secondary_pars {biogrowth} | R Documentation |

## A helper to build the secondary models

### Description

Most of the functions for fitting mix in the vectors parameters for the primary and secondary models, but the functions for making predictions need that they are separated. This one extracts the parameters of the secondary model.

### Usage

```
extract_secondary_pars(this_p, known_pars, sec_model_names)
```

### Arguments

`this_p` |
A named vector of model parameters (usually, the ones fitted). |

`known_pars` |
Another named vector of model parameters (usually the known ones). |

`sec_model_names` |
A named character vector defining for each environmental factor (vector names) the type of secondary model (vector values). |

### Value

A nested list defining the secondary models.

[Package

*biogrowth*version 1.0.4 Index]